/external/chromium_org/net/filter/ |
D | sdch_filter_unittest.cc | 164 std::string url_string("http://ignore.com"); in TEST_F() local 165 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() 224 std::string url_string("http://ignore.com"); in TEST_F() local 225 filter_context()->SetURL(GURL(url_string)); in TEST_F() 265 std::string url_string("http://ignore.com"); in TEST_F() local 266 filter_context()->SetURL(GURL(url_string)); in TEST_F() 300 std::string url_string("http://ignore.com"); in TEST_F() local 301 filter_context()->SetURL(GURL(url_string)); in TEST_F() [all …]
|
/external/chromium_org/net/base/ |
D | filename_util.cc | 31 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()
|
D | net_util_icu.cc | 689 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/ |
D | elide_url.cc | 118 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/ |
D | ppb_url_util_shared.cc | 49 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/input_method/ |
D | component_extension_ime_manager_impl.cc | 225 std::string url_string; in ReadEngineComponent() local 227 &url_string)) { in ReadEngineComponent() 231 url_string); in ReadEngineComponent() 238 &url_string)) { in ReadEngineComponent() 242 url_string); in ReadEngineComponent() 263 std::string url_string; in ReadExtensionInfo() local 265 &url_string)) { in ReadExtensionInfo() 268 url_string); in ReadExtensionInfo()
|
/external/chromium_org/content/browser/webui/ |
D | generic_handler.cc | 29 std::string url_string; in HandleNavigateToUrl() local 37 CHECK(args->GetString(0, &url_string)); in HandleNavigateToUrl() 54 GURL(url_string), Referrer(), disposition, PAGE_TRANSITION_LINK, false)); in HandleNavigateToUrl()
|
/external/chromium_org/chrome/browser/ui/search_engines/ |
D | edit_search_engine_controller.cc | 84 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/chrome/browser/ui/webui/options/ |
D | startup_pages_handler.cc | 154 std::string url_string; in AddStartupPage() local 155 CHECK(args->GetString(0, &url_string)); in AddStartupPage() 157 GURL url = url_fixer::FixupURL(url_string, std::string()); in AddStartupPage() 170 std::string url_string; in EditStartupPage() local 175 CHECK(args->GetString(1, &url_string)); in EditStartupPage() 182 fixed_url = url_fixer::FixupURL(url_string, std::string()); in EditStartupPage()
|
/external/chromium_org/components/bookmarks/test/ |
D | bookmark_test_helpers.cc | 76 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/extensions/browser/api/runtime/ |
D | runtime_api.cc | 115 const std::string& url_string) { in SetUninstallURL() argument 117 extension_id, kUninstallUrl, new base::StringValue(url_string)); in SetUninstallURL() 123 std::string url_string; in GetUninstallURL() local 124 prefs->ReadPrefAsString(extension_id, kUninstallUrl, &url_string); in GetUninstallURL() 125 return url_string; in GetUninstallURL() 457 std::string url_string; in Run() local 458 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url_string)); in Run() 460 GURL url(url_string); in Run() 463 Error(ErrorUtils::FormatErrorMessage(kInvalidUrlError, url_string))); in Run() 466 ExtensionPrefs::Get(browser_context()), extension_id(), url_string); in Run()
|
/external/chromium_org/mojo/services/launcher/ |
D | launcher.cc | 121 void LauncherConnection::Launch(const String& url_string) { in Launch() argument 122 GURL url(url_string.To<std::string>()); in Launch() 127 client()->OnLaunch(url_string, in Launch() 133 new LaunchInstance(app_, client(), url_string); in Launch()
|
/external/chromium_org/chrome/browser/ui/webui/password_manager_internals/ |
D | password_manager_internals_ui_browsertest.cc | 55 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/history/ |
D | most_visited_tiles_experiment_unittest.cc | 47 void AppendURLToListValue(const std::string& url_string, in AppendURLToListValue() argument 50 page_value->SetString("url", url_string); in AppendURLToListValue() 55 void AppendInstantURLToVector(const std::string& url_string, in AppendInstantURLToVector() argument 58 item.url = GURL(url_string); in AppendInstantURLToVector() 63 void AppendMostVisitedURLToVector(const std::string& url_string, in AppendMostVisitedURLToVector() argument 66 most_visited.url = GURL(url_string); in AppendMostVisitedURLToVector()
|
D | scored_history_match_unittest.cc | 189 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/ |
D | cocoa_dnd_util.mm | 38 NSString* url_string = [url_array objectAtIndex:0]; 39 if ([url_string length]) { 42 const char* utf8_url = [url_string UTF8String];
|
/external/chromium_org/chrome/browser/android/ |
D | most_visited_sites.cc | 113 std::string url_string, in GetUrlThumbnailTask() argument 123 GURL gurl(url_string); in GetUrlThumbnailTask() 230 std::string url_string = ConvertJavaStringToUTF8(env, url); in GetURLThumbnail() local 240 suggestions_service, url_string, in GetURLThumbnail() 250 &GetUrlThumbnailTask, url_string, top_sites, in GetURLThumbnail() 442 const std::string& url_string, in GetSuggestionsThumbnailOnUIThread() argument 445 GURL(url_string), in GetSuggestionsThumbnailOnUIThread()
|
/external/chromium_org/chrome/browser/android/omnibox/ |
D | omnibox_prerender.cc | 73 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/ |
D | network_state.cc | 245 std::string url_string; in IPConfigPropertiesChanged() local 246 if (GetStringValue(key, value, &url_string)) { in IPConfigPropertiesChanged() 247 if (url_string.empty()) { in IPConfigPropertiesChanged() 250 GURL gurl(url_string); in IPConfigPropertiesChanged() 254 NET_LOG_ERROR("Invalid WebProxyAutoDiscoveryUrl: " + url_string, in IPConfigPropertiesChanged()
|
/external/chromium_org/chrome/browser/ |
D | intranet_redirect_detector.cc | 77 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/webui/ntp/ |
D | suggestions_combiner.cc | 128 std::string url_string; in AddExtendedInformation() local 129 if (page_value->GetString("url", &url_string)) { in AddExtendedInformation() 130 GURL url(url_string); in AddExtendedInformation()
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | pinned_tab_codec.cc | 92 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/ |
D | url_request_info.h | 110 bool SetURL(const Var& url_string) { in SetURL() argument 111 return SetProperty(PP_URLREQUESTPROPERTY_URL, url_string); in SetURL()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | sim_dialog_delegate.cc | 69 std::string url_string(chrome::kChromeUISimUnlockURL); in GetDialogContentURL() local 70 return GURL(url_string); in GetDialogContentURL()
|
/external/chromium_org/url/ |
D | gurl.h | 38 explicit GURL(const std::string& url_string /*, output_param_encoding*/); 39 explicit GURL(const base::string16& url_string /*, output_param_encoding*/); 373 GURL(const std::string& url_string, RetainWhiteSpaceSelector);
|