Home
last modified time | relevance | path

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

12

/external/chromium/net/base/
Dsdch_filter_unittest.cc163 std::string url_string("http://ignore.com"); in TEST_F() local
164 filter_context.SetURL(GURL(url_string)); in TEST_F()
185 std::string url_string("http://ignore.com"); in TEST_F() local
186 filter_context.SetURL(GURL(url_string)); in TEST_F()
225 std::string url_string("http://ignore.com"); in TEST_F() local
226 filter_context.SetURL(GURL(url_string)); in TEST_F()
267 std::string url_string("http://ignore.com"); in TEST_F() local
268 filter_context.SetURL(GURL(url_string)); in TEST_F()
303 std::string url_string("http://ignore.com"); in TEST_F() local
304 filter_context.SetURL(GURL(url_string)); in TEST_F()
[all …]
Dnet_util.cc958 std::wstring url_string; in FormatUrlInternal() local
967 return url_string; in FormatUrlInternal()
992 url_string.insert(url_string.end(), spec.begin(), in FormatUrlInternal()
1005 (format_types & kFormatUrlOmitHTTP) && (url_string == kHTTP) && in FormatUrlInternal()
1043 AppendFormattedComponent(spec, parsed.username, unescape_rules, &url_string, in FormatUrlInternal()
1046 url_string.push_back(':'); in FormatUrlInternal()
1047 AppendFormattedComponent(spec, parsed.password, unescape_rules, &url_string, in FormatUrlInternal()
1050 url_string.push_back('@'); in FormatUrlInternal()
1053 *prefix_end = static_cast<size_t>(url_string.length()); in FormatUrlInternal()
1055 AppendFormattedHostWithOffsets(url, languages, &url_string, new_parsed, in FormatUrlInternal()
[all …]
/external/chromium/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc147 std::string url_string; in SetHomePage() local
151 CHECK(args->GetString(0, &url_string)); in SetHomePage()
156 GURL fixed_url = URLFixerUpper::FixupURL(url_string, std::string()); in SetHomePage()
157 url_string = fixed_url.spec(); in SetHomePage()
159 homepage_.SetValueIfNotManaged(url_string); in SetHomePage()
378 std::string url_string; in AddStartupPage() local
380 CHECK(args->GetString(0, &url_string)); in AddStartupPage()
382 GURL url = URLFixerUpper::FixupURL(url_string, std::string()); in AddStartupPage()
389 std::string url_string; in EditStartupPage() local
395 CHECK(args->GetString(1, &url_string)); in EditStartupPage()
[all …]
/external/chromium/chrome/browser/ui/search_engines/
Dedit_search_engine_controller.cc73 std::string url_string = GetFixedUpURL(url_input); in AcceptAddOrEdit() local
74 DCHECK(!url_string.empty()); in AcceptAddOrEdit()
101 modifiable_url->SetURL(url_string, 0, 0); in AcceptAddOrEdit()
111 url_string); in AcceptAddOrEdit()
/external/chromium/chrome/browser/extensions/
Dextension_tabs_module.cc77 static GURL ResolvePossiblyRelativeURL(const std::string& url_string,
339 std::string url_string; in RunImpl() local
340 url_value->GetAsString(&url_string); in RunImpl()
341 url_strings.push_back(url_string); in RunImpl()
345 std::string url_string; in RunImpl() local
346 EXTENSION_FUNCTION_VALIDATE(url_list->GetString(i, &url_string)); in RunImpl()
347 url_strings.push_back(url_string); in RunImpl()
686 std::string url_string; in RunImpl() local
690 &url_string)); in RunImpl()
691 url = ResolvePossiblyRelativeURL(url_string, GetExtension()); in RunImpl()
[all …]
Dextension_bookmarks_module.cc469 std::string url_string; in RunImpl() local
470 json->GetString(keys::kUrlKey, &url_string); // Optional. in RunImpl()
471 GURL url(url_string); in RunImpl()
478 if (url_string.length()) in RunImpl()
604 std::string url_string; in RunImpl() local
605 updates->GetString(keys::kUrlKey, &url_string); in RunImpl()
606 GURL url(url_string); in RunImpl()
607 if (!url_string.empty() && !url.is_valid()) { in RunImpl()
682 std::string url_string; in GetBucketsForArgs() local
683 json->GetString(keys::kUrlKey, &url_string); in GetBucketsForArgs()
[all …]
Dextension_cookies_api.cc117 std::string url_string; in ParseUrl() local
119 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kUrlKey, &url_string)); in ParseUrl()
120 *url = GURL(url_string); in ParseUrl()
123 keys::kInvalidUrlError, url_string); in ParseUrl()
Dextension_history_api.cc162 std::string url_string; in GetUrlFromValue() local
163 if (!value->GetAsString(&url_string)) { in GetUrlFromValue()
168 GURL temp_url(url_string); in GetUrlFromValue()
/external/chromium/chrome/browser/tabs/
Dpinned_tab_codec.cc79 std::string url_string; in DecodeTab() local
80 if (!value.GetString(kURL, &url_string)) in DecodeTab()
82 tab->url = GURL(url_string); in DecodeTab()
/external/chromium/chrome/browser/ui/views/
Dkeyboard_overlay_delegate.cc41 std::string url_string(chrome::kChromeUIKeyboardOverlayURL); in GetDialogContentURL() local
42 return GURL(url_string); in GetDialogContentURL()
/external/chromium/chrome/browser/
Dintranet_redirect_detector.cc79 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/chrome/browser/chromeos/
Dsim_dialog_delegate.cc95 std::string url_string(chrome::kChromeUISimUnlockURL); in GetDialogContentURL() local
96 return GURL(url_string); in GetDialogContentURL()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_html_writer.cc241 std::string url_string; in WriteNode() local
242 if (!value.GetString(BookmarkCodec::kURLKey, &url_string)) { in WriteNode()
249 favicons_map_->find(url_string); in WriteNode()
264 !Write(url_string, ATTRIBUTE_VALUE) || in WriteNode()
Dbookmark_codec.cc239 std::string url_string; in DecodeNode() local
240 if (!value.GetString(kURLKey, &url_string)) in DecodeNode()
243 GURL url = GURL(url_string); in DecodeNode()
252 UpdateChecksumWithUrlNode(id_string, title, url_string); in DecodeNode()
/external/chromium/chrome/browser/importer/
Dtoolbar_importer.cc202 std::string url_string(kT5AuthorizationTokenUrl); in GetAuthenticationFromServer() local
203 url_string.replace(url_string.find(kRandomNumberToken), in GetAuthenticationFromServer()
206 GURL url(url_string); in GetAuthenticationFromServer()
Die_importer.cc167 std::wstring url_string; in ImportHistory() local
170 url_string = stat_url.pwcsUrl; in ImportHistory()
178 GURL url(url_string); in ImportHistory()
/external/chromium/googleurl/src/
Dgurl.cc117 GURL::GURL(const std::string& url_string) { in GURL() argument
118 is_valid_ = InitCanonical(url_string, &spec_, &parsed_); in GURL()
121 GURL::GURL(const string16& url_string) { in GURL() argument
122 is_valid_ = InitCanonical(url_string, &spec_, &parsed_); in GURL()
Dgurl.h61 GURL_API explicit GURL(const std::string& url_string
63 GURL_API explicit GURL(const string16& url_string
/external/chromium/chrome/common/
Dweb_apps.cc271 std::string url_string; in ParseWebAppFromDefinitionFile() local
273 CHECK(urls_value->GetString(i, &url_string)); in ParseWebAppFromDefinitionFile()
274 if (!(url = web_app->manifest_url.Resolve(url_string)).is_valid() || in ParseWebAppFromDefinitionFile()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url.cc227 std::string url_string = url_; in ParseHostAndSearchTermKey() local
228 ReplaceSubstringsAfterOffset(&url_string, 0, in ParseHostAndSearchTermKey()
231 ReplaceSubstringsAfterOffset(&url_string, 0, in ParseHostAndSearchTermKey()
235 GURL url(url_string); in ParseHostAndSearchTermKey()
/external/chromium/net/http/
Dhttp_auth_handler_negotiate_unittest.cc179 const std::string& url_string, in CreateHandler() argument
184 GURL gurl(url_string); in CreateHandler()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_controller.mm53 std::string url_string = node_->GetURL().possibly_invalid_spec();
54 initialUrl_.reset([[NSString stringWithUTF8String:url_string.c_str()]
/external/chromium/chrome/browser/password_manager/
Dnative_backend_kwallet_x.cc547 string url_string; in ReadGURL() local
548 if (!pickle.ReadString(iter, &url_string)) { in ReadGURL()
553 *url = GURL(url_string); in ReadGURL()
/external/chromium/chrome/browser/ui/
Dbrowser_init.cc788 std::string url_string, app_id; in OpenApplicationWindow() local
789 if (!IsAppLaunch(&url_string, &app_id)) in OpenApplicationWindow()
815 if (url_string.empty()) in OpenApplicationWindow()
819 ReplaceSubstringsAfterOffset(&url_string, 0, "\\x", "%"); in OpenApplicationWindow()
821 GURL url(url_string); in OpenApplicationWindow()
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc401 std::string url_string = StringPrintf( in GetDevToolsUrl() local
407 return GURL(url_string); in GetDevToolsUrl()

12