Home
last modified time | relevance | path

Searched refs:url_spec (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_unittest.cc35 std::string url_spec = "http://www.goats.com/"; in TEST_F() local
36 GURL url(url_spec); in TEST_F()
41 EXPECT_EQ(url_spec, url.spec()); in TEST_F()
46 std::string url_spec = "http://www.google.com/"; in TEST_F() local
47 GURL url(url_spec); in TEST_F()
59 EXPECT_EQ(url_spec, output_url.spec()); in TEST_F()
65 EXPECT_EQ(url_spec, base::UTF16ToUTF8(output_string)); in TEST_F()
Dos_exchange_data_win_unittest.cc146 std::string url_spec = "http://www.google.com/"; in TEST() local
147 GURL url(url_spec); in TEST()
175 EXPECT_EQ(url_spec, base::WideToUTF8(output_text)); in TEST()
270 std::string url_spec = "http://www.google.com/"; in TEST() local
271 GURL url(url_spec); in TEST()
290 file_contents += url_spec; in TEST()
Dos_exchange_data_provider_aurax11.cc193 std::string url_spec = net::FilePathToFileURL(it->path).spec(); in SetFilenames() local
194 if (!url_spec.empty()) in SetFilenames()
195 paths.push_back(url_spec); in SetFilenames()
/external/chromium_org/chrome/browser/notifications/sync_notifier/
Dsynced_notification.cc44 GURL AddDefaultSchemaIfNeeded(std::string& url_spec) { in AddDefaultSchemaIfNeeded() argument
45 if (StartsWithASCII(url_spec, std::string("//"), false)) in AddDefaultSchemaIfNeeded()
46 return GURL(std::string(kDefaultSyncedNotificationScheme) + url_spec); in AddDefaultSchemaIfNeeded()
48 return GURL(url_spec); in AddDefaultSchemaIfNeeded()
420 std::string url_spec = specifics_.coalesced_notification().render_info(). in GetAppIconUrl() local
423 return AddDefaultSchemaIfNeeded(url_spec); in GetAppIconUrl()
437 std::string url_spec = specifics_.coalesced_notification().render_info(). in GetImageUrl() local
440 return AddDefaultSchemaIfNeeded(url_spec); in GetImageUrl()
520 std::string url_spec = specifics_.coalesced_notification().render_info(). in GetDefaultDestinationIconUrl() local
523 return AddDefaultSchemaIfNeeded(url_spec); in GetDefaultDestinationIconUrl()
[all …]
/external/chromium_org/chrome/browser/net/
Dreferrer.cc130 std::string url_spec; in Deserialize() local
131 if (!subresource_list->GetString(index++, &url_spec)) in Deserialize()
137 GURL url(url_spec); in Deserialize()
151 base::StringValue* url_spec(new base::StringValue(it->first.spec())); in Serialize() local
155 subresource_list->Append(url_spec); in Serialize()
Dpredictor_unittest.cc349 std::string url_spec; in GetDataFromSerialization() local
350 EXPECT_TRUE(subresource_list->GetString(i++, &url_spec)); in GetDataFromSerialization()
352 if (subresource == GURL(url_spec)) { in GetDataFromSerialization()
Dpredictor.cc463 std::string url_spec; in GetPredictedUrlListAtStartup() local
464 if (!(*it)->GetAsString(&url_spec)) { in GetPredictedUrlListAtStartup()
468 GURL url(url_spec); in GetPredictedUrlListAtStartup()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_utils.cc28 const std::string& url_spec = url.spec(); in ScopeMatches() local
32 return scope_spec.compare(0, len - 1, url_spec, 0, len - 1) == 0; in ScopeMatches()
33 return scope_spec == url_spec; in ScopeMatches()
/external/chromium_org/components/nacl/renderer/
Djson_manifest.cc161 bool IsValidUrlSpec(const Json::Value& url_spec, in IsValidUrlSpec() argument
181 if (url_spec.isMember(kPnaclTranslateKey)) { in IsValidUrlSpec()
191 if (!IsValidDictionary(url_spec, container_key, parent_key, in IsValidUrlSpec()
200 Json::Value url = url_spec[kUrlKey]; in IsValidUrlSpec()
209 Json::Value opt_level = url_spec[kOptLevelKey]; in IsValidUrlSpec()
242 Json::Value url_spec = pnacl_spec[kPnaclTranslateKey]; in IsValidPnaclTranslateSpec() local
243 return IsValidUrlSpec(url_spec, kPnaclTranslateKey, in IsValidPnaclTranslateSpec()
366 void GrabUrlAndPnaclOptions(const Json::Value& url_spec, in GrabUrlAndPnaclOptions() argument
369 *url = url_spec[kUrlKey].asString(); in GrabUrlAndPnaclOptions()
371 if (url_spec.isMember(kOptLevelKey)) { in GrabUrlAndPnaclOptions()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Duser_image_source.cc36 std::string url_spec = url.possibly_invalid_spec(); in ParseRequest() local
40 while (ExtractQueryKeyValue(url_spec.c_str(), &query, &key, &value)) { in ParseRequest()
41 if (url_spec.substr(key.begin, key.len) == kKeyAnimated) { in ParseRequest()
/external/chromium_org/chrome/renderer/resources/extensions/
Dnotifications_custom_bindings.js92 var url_spec = url_specs[index];
93 url_spec.callback(imageData[index]);
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_parser.cc426 const char* url_spec = url.spec().c_str(); in ProcessURLParams() local
427 while (url::ExtractQueryKeyValue(url_spec, &query, &key, &value)) { in ProcessURLParams()
428 std::string key_str(url_spec, key.begin, key.len); in ProcessURLParams()
429 std::string value_str(url_spec, value.begin, value.len); in ProcessURLParams()
/external/chromium_org/components/bookmarks/browser/
Dbookmark_node_data.cc60 std::string url_spec; in ReadFromPickle() local
62 !pickle->ReadString(iterator, &url_spec) || in ReadFromPickle()
67 url = GURL(url_spec); in ReadFromPickle()
/external/chromium_org/chrome/browser/
Dshell_integration_win.cc209 base::string16 url_spec = base::ASCIIToWide(url.possibly_invalid_spec()); in GetAppForProtocolUsingRegistry() local
215 size_t split_offset = url_spec.find(L':'); in GetAppForProtocolUsingRegistry()
218 const base::string16 parameters = url_spec.substr(split_offset + 1, in GetAppForProtocolUsingRegistry()
219 url_spec.length() - 1); in GetAppForProtocolUsingRegistry()
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/
Dwebrtc_audio_private_browsertest.cc392 std::string url_spec = url.spec(); in IN_PROC_BROWSER_TEST_F() local
393 ReplaceFirstSubstringAfterOffset(&url_spec, 0, "127.0.0.1", "localhost"); in IN_PROC_BROWSER_TEST_F()
394 GURL localhost_url(url_spec); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_backend.cc288 const std::string& url_spec = url.spec(); in DeleteShortcutsWithURL() local
294 url_spec, true)) { in DeleteShortcutsWithURL()
309 db_.get(), url_spec)); in DeleteShortcutsWithURL()
/external/chromium_org/chrome/renderer/extensions/
Dapp_bindings.cc35 bool IsCheckoutURL(const std::string& url_spec) { in IsCheckoutURL() argument
42 return StartsWithASCII(url_spec, checkout_url_prefix, false); in IsCheckoutURL()
/external/chromium_org/mojo/service_manager/
Dservice_manager_unittest.cc196 std::string url_spec() const { in url_spec() function in mojo::__anone689828b0111::TestServiceInterceptor
402 EXPECT_EQ(url, interceptor.url_spec()); in TEST_F()
/external/chromium_org/chrome/browser/history/
Din_memory_url_index_unittest.cc901 const std::string url_spec; in TEST_F() member
976 GURL url(data[i].url_spec); in TEST_F()