/external/chromium/net/base/ |
D | sdch_filter_unittest.cc | 163 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 …]
|
D | net_util.cc | 958 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/ |
D | browser_options_handler.cc | 147 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/ |
D | edit_search_engine_controller.cc | 73 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/ |
D | extension_tabs_module.cc | 77 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 …]
|
D | extension_bookmarks_module.cc | 469 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 …]
|
D | extension_cookies_api.cc | 117 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()
|
D | extension_history_api.cc | 162 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/ |
D | pinned_tab_codec.cc | 79 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/ |
D | keyboard_overlay_delegate.cc | 41 std::string url_string(chrome::kChromeUIKeyboardOverlayURL); in GetDialogContentURL() local 42 return GURL(url_string); in GetDialogContentURL()
|
D | select_file_dialog.cc | 358 std::string url_string(chrome::kChromeUIFileBrowseURL); in GetDialogContentURL() local 360 return GURL(url_string); in GetDialogContentURL()
|
/external/chromium/chrome/browser/ |
D | intranet_redirect_detector.cc | 79 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/ |
D | sim_dialog_delegate.cc | 95 std::string url_string(chrome::kChromeUISimUnlockURL); in GetDialogContentURL() local 96 return GURL(url_string); in GetDialogContentURL()
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_html_writer.cc | 241 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()
|
D | bookmark_codec.cc | 239 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/googleurl/src/ |
D | gurl.cc | 117 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()
|
D | gurl.h | 61 GURL_API explicit GURL(const std::string& url_string 63 GURL_API explicit GURL(const string16& url_string
|
/external/chromium/chrome/browser/importer/ |
D | toolbar_importer.cc | 202 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()
|
D | ie_importer.cc | 167 std::wstring url_string; in ImportHistory() local 170 url_string = stat_url.pwcsUrl; in ImportHistory() 178 GURL url(url_string); in ImportHistory()
|
/external/chromium/chrome/common/ |
D | web_apps.cc | 271 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/ |
D | template_url.cc | 227 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/ |
D | http_auth_handler_negotiate_unittest.cc | 179 const std::string& url_string, in CreateHandler() argument 184 GURL gurl(url_string); in CreateHandler()
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_editor_controller.mm | 53 std::string url_string = node_->GetURL().possibly_invalid_spec(); 54 initialUrl_.reset([[NSString stringWithUTF8String:url_string.c_str()]
|
/external/chromium/chrome/browser/password_manager/ |
D | native_backend_kwallet_x.cc | 547 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/ |
D | browser_init.cc | 788 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()
|