Home
last modified time | relevance | path

Searched refs:url_string (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium_org/net/filter/
Dsdch_filter_unittest.cc175 std::string url_string("http://ignore.com"); in TEST_F() local
176 filter_context()->SetURL(GURL(url_string)); in TEST_F()
195 std::string url_string("http://ignore.com"); in TEST_F() local
196 filter_context()->SetURL(GURL(url_string)); in TEST_F()
222 std::string url_string("http://ignore.com"); in TEST_F() local
223 filter_context()->SetURL(GURL(url_string)); in TEST_F()
261 std::string url_string("http://ignore.com"); in TEST_F() local
262 filter_context()->SetURL(GURL(url_string)); in TEST_F()
302 std::string url_string("http://ignore.com"); in TEST_F() local
303 filter_context()->SetURL(GURL(url_string)); in TEST_F()
[all …]
/external/chromium_org/net/base/
Dfilename_util.cc31 base::FilePath::StringType url_string(kFileURLPrefix); in FilePathToFileURL() local
35 url_string.append(current_dir.value()); in FilePathToFileURL()
36 url_string.push_back(base::FilePath::kSeparators[0]); in FilePathToFileURL()
38 url_string.append(path.value()); in FilePathToFileURL()
47 &url_string, 0, FILE_PATH_LITERAL("%"), FILE_PATH_LITERAL("%25")); in FilePathToFileURL()
51 &url_string, 0, FILE_PATH_LITERAL(";"), FILE_PATH_LITERAL("%3B")); in FilePathToFileURL()
54 &url_string, 0, FILE_PATH_LITERAL("#"), FILE_PATH_LITERAL("%23")); in FilePathToFileURL()
57 &url_string, 0, FILE_PATH_LITERAL("?"), FILE_PATH_LITERAL("%3F")); in FilePathToFileURL()
61 &url_string, 0, FILE_PATH_LITERAL("\\"), FILE_PATH_LITERAL("%5C")); in FilePathToFileURL()
64 return GURL(url_string); in FilePathToFileURL()
Dnet_util_icu.cc689 base::string16 url_string; in FormatUrlWithAdjustments() local
690 url_string.insert( in FormatUrlWithAdjustments()
691 url_string.end(), spec.begin(), in FormatUrlWithAdjustments()
702 EqualsASCII(url_string, kHTTP) && in FormatUrlWithAdjustments()
736 &url_string, &new_parsed->username, adjustments); in FormatUrlWithAdjustments()
738 url_string.push_back(':'); in FormatUrlWithAdjustments()
741 &url_string, &new_parsed->password, adjustments); in FormatUrlWithAdjustments()
743 url_string.push_back('@'); in FormatUrlWithAdjustments()
746 *prefix_end = static_cast<size_t>(url_string.length()); in FormatUrlWithAdjustments()
750 &url_string, &new_parsed->host, adjustments); in FormatUrlWithAdjustments()
[all …]
/external/chromium_org/chrome/browser/ui/
Delide_url.cc118 const base::string16 url_string = in ElideUrl() local
122 return url_string; in ElideUrl()
126 return ElideText(url_string, font_list, available_pixel_width, in ElideUrl()
131 const float pixel_width_url_string = GetStringWidthF(url_string, font_list); in ElideUrl()
133 return url_string; in ElideUrl()
138 base::string16 url_path_query_etc = url_string.substr(path_start_index); in ElideUrl()
139 base::string16 url_path = url_string.substr(path_start_index, path_len); in ElideUrl()
143 url_string.substr(0, path_start_index + path_len); in ElideUrl()
145 return ElideText(url_string, font_list, available_pixel_width, in ElideUrl()
193 url_query = UTF8ToUTF16("?") + url_string.substr(parsed.query.begin); in ElideUrl()
/external/chromium_org/ppapi/shared_impl/
Dppb_url_util_shared.cc49 StringVar* url_string = StringVar::FromPPVar(url); in Canonicalize() local
50 if (!url_string) in Canonicalize()
52 return GenerateURLReturn(GURL(url_string->value()), components); in Canonicalize()
105 StringVar* url_string = StringVar::FromPPVar(url); in ConvertComponentsAndReturnURL() local
106 if (!url_string) in ConvertComponentsAndReturnURL()
/external/chromium_org/chrome/browser/chromeos/
Dsim_dialog_delegate.cc60 std::string url_string(chrome::kChromeUISimUnlockURL); in GetDialogContentURL() local
61 return GURL(url_string); in GetDialogContentURL()
76 std::string url_string = in GetDialogContentURL() local
78 return GURL(url_string); in GetDialogContentURL()
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_actions.cc395 std::string url_string; in MaybeUploadUrl() local
401 args_->GetString(3u, &url_string); in MaybeUploadUrl()
402 url = GURL(url_string); in MaybeUploadUrl()
404 args_->GetString(3u, &url_string); in MaybeUploadUrl()
405 url = GURL(url_string); in MaybeUploadUrl()
409 std::string url_string; in MaybeUploadUrl() local
413 args_->GetString(1u, &url_string); in MaybeUploadUrl()
414 url = GURL(url_string); in MaybeUploadUrl()
416 args_->GetString(1u, &url_string); in MaybeUploadUrl()
417 url = GURL(url_string); in MaybeUploadUrl()
[all …]
/external/chromium_org/content/browser/webui/
Dgeneric_handler.cc29 std::string url_string; in HandleNavigateToUrl() local
37 CHECK(args->GetString(0, &url_string)); in HandleNavigateToUrl()
53 web_ui()->GetWebContents()->OpenURL(OpenURLParams(GURL(url_string), in HandleNavigateToUrl()
/external/chromium_org/chrome/browser/ui/search_engines/
Dedit_search_engine_controller.cc84 std::string url_string = GetFixedUpURL(url_input); in AcceptAddOrEdit() local
85 DCHECK(!url_string.empty()); in AcceptAddOrEdit()
108 keyword_input, url_string); in AcceptAddOrEdit()
113 keyword_input, url_string); in AcceptAddOrEdit()
/external/chromium_org/extensions/browser/api/runtime/
Druntime_api.cc115 const std::string& url_string) { in SetUninstallURL() argument
117 extension_id, kUninstallUrl, new base::StringValue(url_string)); in SetUninstallURL()
122 std::string url_string; in GetUninstallURL() local
123 prefs->ReadPrefAsString(extension_id, kUninstallUrl, &url_string); in GetUninstallURL()
124 return url_string; in GetUninstallURL()
434 std::string url_string; in Run() local
435 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url_string)); in Run()
437 GURL url(url_string); in Run()
440 Error(ErrorUtils::FormatErrorMessage(kInvalidUrlError, url_string))); in Run()
443 ExtensionPrefs::Get(browser_context()), extension_id(), url_string); in Run()
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_pages_handler.cc162 std::string url_string; in AddStartupPage() local
163 CHECK(args->GetString(0, &url_string)); in AddStartupPage()
165 GURL url = url_fixer::FixupURL(url_string, std::string()); in AddStartupPage()
178 std::string url_string; in EditStartupPage() local
183 CHECK(args->GetString(1, &url_string)); in EditStartupPage()
190 fixed_url = url_fixer::FixupURL(url_string, std::string()); in EditStartupPage()
/external/chromium_org/components/bookmarks/test/
Dbookmark_test_helpers.cc76 std::string url_string("http://"); in AddNodesFromString() local
77 url_string += std::string(node_name.begin(), node_name.end()); in AddNodesFromString()
78 url_string += ".com"; in AddNodesFromString()
80 node, index, base::UTF8ToUTF16(node_name), GURL(url_string)); in AddNodesFromString()
/external/chromium_org/chrome/browser/ui/webui/password_manager_internals/
Dpassword_manager_internals_ui_browsertest.cc55 std::string url_string("chrome://"); in OpenInternalsPage() local
56 url_string += chrome::kChromeUIPasswordManagerInternalsHost; in OpenInternalsPage()
59 GURL(url_string), in OpenInternalsPage()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dcomponent_extension_ime_manager_impl.cc392 std::string url_string; in ReadEngineComponent() local
394 &url_string)) { in ReadEngineComponent()
398 url_string); in ReadEngineComponent()
405 &url_string)) { in ReadEngineComponent()
409 url_string); in ReadEngineComponent()
432 std::string url_string; in ReadExtensionInfo() local
434 &url_string)) { in ReadExtensionInfo()
437 url_string); in ReadExtensionInfo()
/external/chromium_org/chrome/browser/history/
Dscored_history_match_unittest.cc189 std::string url_string("http://fedcba"); in TEST_F() local
190 const GURL url(url_string); in TEST_F()
191 URLRow row(MakeURLRow(url_string.c_str(), "abcd bcd", 8, 3, 1)); in TEST_F()
215 std::string url_string("http://fedcba.com/"); in TEST_F() local
216 const GURL url(url_string); in TEST_F()
217 URLRow row(MakeURLRow(url_string.c_str(), "", 8, 3, 1)); in TEST_F()
241 std::string url_string("http://fedcba/"); in TEST_F() local
242 const GURL url(url_string); in TEST_F()
243 URLRow row(MakeURLRow(url_string.c_str(), "", 8, 3, 1)); in TEST_F()
/external/chromium_org/ui/base/dragdrop/
Dcocoa_dnd_util.mm38 NSString* url_string = [url_array objectAtIndex:0];
39 if ([url_string length]) {
42 const char* utf8_url = [url_string UTF8String];
/external/chromium_org/extensions/common/manifest_handlers/
Doptions_page_info.cc40 const std::string& url_string, in ParseOptionsUrl() argument
46 GURL options_url(url_string); in ParseOptionsUrl()
56 if (GURL(url_string).is_valid()) { in ParseOptionsUrl()
61 GURL resource_url = extension->GetResourceURL(url_string); in ParseOptionsUrl()
/external/chromium_org/chrome/browser/android/omnibox/
Domnibox_prerender.cc73 base::string16 url_string = in PrerenderMaybe() local
107 RegisterTransitionalMatches(url_string, *autocomplete_result); in PrerenderMaybe()
109 action_predictor->RecommendAction(url_string, *default_match); in PrerenderMaybe()
/external/chromium_org/chromeos/network/
Dnetwork_state.cc242 std::string url_string; in IPConfigPropertiesChanged() local
243 if (GetStringValue(key, value, &url_string)) { in IPConfigPropertiesChanged()
244 if (url_string.empty()) { in IPConfigPropertiesChanged()
247 GURL gurl(url_string); in IPConfigPropertiesChanged()
251 NET_LOG_ERROR("Invalid WebProxyAutoDiscoveryUrl: " + url_string, in IPConfigPropertiesChanged()
/external/chromium_org/chrome/browser/android/
Dmost_visited_sites.cc117 std::string url_string, in GetUrlThumbnailTask() argument
127 GURL gurl(url_string); in GetUrlThumbnailTask()
258 std::string url_string = ConvertJavaStringToUTF8(env, url); in GetURLThumbnail() local
270 suggestions_service, url_string, in GetURLThumbnail()
280 &GetUrlThumbnailTask, url_string, top_sites, in GetURLThumbnail()
480 const std::string& url_string, in GetSuggestionsThumbnailOnUIThread() argument
483 GURL(url_string), in GetSuggestionsThumbnailOnUIThread()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner.cc129 std::string url_string; in AddExtendedInformation() local
130 if (page_value->GetString("url", &url_string)) { in AddExtendedInformation()
131 GURL url(url_string); in AddExtendedInformation()
/external/chromium_org/chrome/browser/
Dintranet_redirect_detector.cc77 std::string url_string("http://"); in FinishSleep() local
81 url_string += ('a' + base::RandInt(0, 'z' - 'a')); in FinishSleep()
82 GURL random_url(url_string + '/'); in FinishSleep()
/external/chromium_org/chrome/browser/ui/tabs/
Dpinned_tab_codec.cc92 std::string url_string; in DecodeTab() local
93 if (!value.GetString(kURL, &url_string)) in DecodeTab()
95 tab->url = GURL(url_string); in DecodeTab()
/external/chromium_org/ppapi/cpp/
Durl_request_info.h110 bool SetURL(const Var& url_string) { in SetURL() argument
111 return SetProperty(PP_URLREQUESTPROPERTY_URL, url_string); in SetURL()
/external/chromium_org/url/
Dgurl.h38 explicit GURL(const std::string& url_string /*, output_param_encoding*/);
39 explicit GURL(const base::string16& url_string /*, output_param_encoding*/);
378 GURL(const std::string& url_string, RetainWhiteSpaceSelector);

1234