Home
last modified time | relevance | path

Searched refs:gurl (Results 1 – 25 of 66) sorted by relevance

123

/external/chromium/net/http/
Durl_security_manager_unittest.cc56 GURL gurl(kTestDataList[i].url); in TEST() local
58 url_security_manager->CanUseDefaultCredentials(gurl); in TEST()
61 << " Run: " << i << " URL: '" << gurl << "'"; in TEST()
75 GURL gurl(kTestDataList[i].url); in TEST() local
76 bool can_delegate = url_security_manager->CanDelegate(gurl); in TEST()
78 << " Run: " << i << " URL: '" << gurl << "'"; in TEST()
89 GURL gurl(kTestDataList[i].url); in TEST() local
90 bool can_delegate = url_security_manager->CanDelegate(gurl); in TEST()
Dhttp_auth_handler_factory_unittest.cc43 GURL gurl("www.google.com"); in TEST() local
61 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler)); in TEST()
67 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler)); in TEST()
70 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), in TEST()
77 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler)); in TEST()
80 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), in TEST()
86 "basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler)); in TEST()
92 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler)); in TEST()
95 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), in TEST()
/external/chromium/net/base/
Dcookie_monster_perftest.cc143 GURL gurl("https://" + *it + "/"); in TEST() local
146 EXPECT_TRUE(cm->SetCookie(gurl, cookie)); in TEST()
185 GURL gurl("https://" + *it + "/"); in TEST() local
188 EXPECT_TRUE(cm->SetCookie(gurl, cookie)); in TEST()
212 std::string gurl("www" + domain_name); in TEST() local
216 AddCookieToList(gurl, cookie_line, in TEST()
227 GURL gurl("www.google.com"); in TEST() local
230 cm->GetCookiesWithOptions(gurl, options); in TEST()
293 GURL gurl("http://google.com"); in TEST() local
296 EXPECT_TRUE(cm->SetCookie(gurl, cookie_line)); in TEST()
[all …]
Dregistry_controlled_domain.cc65 const GURL& gurl) { in GetDomainAndRegistry() argument
67 gurl.parsed_for_possibly_invalid_spec().host; in GetDomainAndRegistry()
68 if ((host.len <= 0) || gurl.HostIsIPAddress()) in GetDomainAndRegistry()
71 gurl.possibly_invalid_spec().data() + host.begin, host.len)); in GetDomainAndRegistry()
118 const GURL& gurl, in GetRegistryLength() argument
121 gurl.parsed_for_possibly_invalid_spec().host; in GetRegistryLength()
124 if (gurl.HostIsIPAddress()) in GetRegistryLength()
127 std::string(gurl.possibly_invalid_spec().data() + host.begin, host.len), in GetRegistryLength()
Dmock_filter_context.h22 void SetURL(const GURL& gurl) { gurl_ = gurl; } in SetURL() argument
35 virtual bool GetURL(GURL* gurl) const;
Dmock_filter_context.cc25 bool MockFilterContext::GetURL(GURL* gurl) const { in GetURL()
26 *gurl = gurl_; in GetURL()
Dregistry_controlled_domain.h153 static std::string GetDomainAndRegistry(const GURL& gurl);
191 static size_t GetRegistryLength(const GURL& gurl,
Dsdch_filter_unittest.cc1183 GURL gurl("http://mytest.DoMain.com"); in TEST_F() local
1184 std::string domain(gurl.host()); in TEST_F()
1189 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(gurl)); in TEST_F()
1193 GURL gurl("http://mytest.DoMain.com"); in TEST_F() local
1194 std::string domain(gurl.host()); in TEST_F()
1197 SdchManager::Global()->BlacklistDomain(gurl); in TEST_F()
1202 EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(gurl)); in TEST_F()
1204 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(gurl)); in TEST_F()
1208 GURL gurl("http://mytest.DoMain.com"); in TEST_F() local
1209 std::string domain(gurl.host()); in TEST_F()
[all …]
Dsdch_manager.cc32 const GURL& gurl, in Dictionary() argument
39 url_(gurl), in Dictionary()
198 bool SdchManager::Dictionary::DomainMatch(const GURL& gurl, in DomainMatch() argument
201 return gurl.DomainIs(restriction.data(), restriction.size()); in DomainMatch()
/external/chromium/chrome/browser/extensions/
Dautoupdate_interceptor.cc77 GURL gurl(url); in SetResponse() local
78 EXPECT_EQ("http", gurl.scheme()); in SetResponse()
79 EXPECT_EQ("localhost", gurl.host()); in SetResponse()
81 responses_[gurl] = path; in SetResponse()
/external/webkit/Source/WebKit/android/jni/
DCookieManager.cpp60 GURL gurl(jstringToStdString(env, url)); in getCookie() local
63 …Jar::get(privateBrowsing)->cookieStore()->GetCookieMonster()->GetCookiesWithOptions(gurl, options); in getCookie()
143 GURL gurl(jstringToStdString(env, url)); in setCookie() local
147 …get(privateBrowsing)->cookieStore()->GetCookieMonster()->SetCookieWithOptions(gurl, line, options); in setCookie()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bubble_controller_unittest.mm343 GURL gurl("http://www.google.com");
347 gurl);
350 EXPECT_TRUE(model->IsBookmarked(gurl));
353 EXPECT_FALSE(model->IsBookmarked(gurl));
360 GURL gurl("http://www.google.com");
363 gurl);
379 GURL gurl("http://www.google.com");
383 gurl);
393 EXPECT_FALSE(model->IsBookmarked(gurl));
401 GURL gurl("http://www.google.com");
[all …]
Dbookmark_tree_browser_cell_unittest.mm16 GURL gurl;
17 bookmarkNodeMock_.reset(new BookmarkNode(gurl));
/external/chromium/chrome/browser/net/
Dpredictor_api.cc544 GURL gurl = tab_start_pref.urls[i]; in GetPredictedUrlListAtStartup() local
545 if (!gurl.is_valid() || gurl.SchemeIsFile() || gurl.host().empty()) in GetPredictedUrlListAtStartup()
547 if (gurl.SchemeIs("http") || gurl.SchemeIs("https")) in GetPredictedUrlListAtStartup()
548 urls.push_back(gurl.GetWithEmptyPath()); in GetPredictedUrlListAtStartup()
/external/chromium/net/tools/tld_cleanup/
Dtld_cleanup.cc144 GURL gurl(url); in NormalizeRule() local
145 const std::string& spec = gurl.possibly_invalid_spec(); in NormalizeRule()
146 url_parse::Component host = gurl.parsed_for_possibly_invalid_spec().host; in NormalizeRule()
151 if (!gurl.is_valid()) { in NormalizeRule()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page_test.cc39 virtual bool CheckBrowseUrl(const GURL& gurl, Client* client) { in CheckBrowseUrl() argument
40 if (badurls[gurl.spec()] == SAFE) in CheckBrowseUrl()
46 gurl, client)); in CheckBrowseUrl()
50 void OnCheckBrowseURLDone(const GURL& gurl, Client* client) { in OnCheckBrowseURLDone() argument
52 check.urls.push_back(gurl); in OnCheckBrowseURLDone()
54 check.result = badurls[gurl.spec()]; in OnCheckBrowseURLDone()
/external/chromium/net/url_request/
Durl_request_job_tracker_unittest.cc159 const GURL gurl(url); in AssertJobTrackerCallbacks() local
161 ASSERT_TRUE(GetResponseBody(gurl, &body)); in AssertJobTrackerCallbacks()
175 Fetch(gurl); in AssertJobTrackerCallbacks()
/external/chromium/chrome/browser/sync/engine/net/
Dserver_connection_manager.cc328 GURL gurl(server_url); in GetServerHost() local
329 DCHECK(gurl.is_valid()) << gurl; in GetServerHost()
330 return gurl.host(); in GetServerHost()
/external/chromium/webkit/glue/
Dwebclipboard_impl.cc128 GURL gurl; in readHTML() local
129 ClipboardReadHTML(buffer_type, &html_stdstr, &gurl); in readHTML()
130 *source_url = gurl; in readHTML()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebRequest.cpp77 GURL gurl(m_url); in WebRequest() local
79 m_request = new net::URLRequest(gurl, this); in WebRequest()
482 GURL gurl(m_url); in sslClientCert() local
483 net::OpenSSLPrivateKeyStore::GetInstance()->StorePrivateKey(gurl, privateKey.release()); in sslClientCert()
/external/chromium/net/spdy/
Dspdy_test_util.cc334 GURL gurl(url); in ConstructSpdyGet() local
337 std::string str_path = gurl.PathForRequest(); in ConstructSpdyGet()
338 std::string str_scheme = gurl.scheme(); in ConstructSpdyGet()
339 std::string str_host = gurl.host(); in ConstructSpdyGet()
340 if (gurl.has_port()) { in ConstructSpdyGet()
342 str_host += gurl.port(); in ConstructSpdyGet()
/external/chromium/build/temp_gyp/
Dgoogleurl.gyp22 '../../googleurl/src/gurl.cc',
23 '../../googleurl/src/gurl.h',
/external/chromium/chrome/browser/history/
Dtop_sites_database.cc105 GURL gurl(statement.ColumnString(0)); in GetPageThumbnails() local
106 url.url = gurl; in GetPageThumbnails()
122 (*thumbnails)[gurl] = thumbnail; in GetPageThumbnails()
/external/chromium/chrome/browser/ui/webui/
Dnew_tab_ui.cc471 const GURL& gurl) { in SetURLTitleAndDirection() argument
472 dictionary->SetString("url", gurl.spec()); in SetURLTitleAndDirection()
478 title_to_set = UTF8ToUTF16(gurl.spec()); in SetURLTitleAndDirection()
/external/chromium/chrome/browser/importer/
Dfirefox_importer_utils.cc218 GURL gurl = GURL(url); in ParseSearchEnginesFromXMLFiles() local
220 TemplateURLModel::GenerateKeyword(gurl, false)); in ParseSearchEnginesFromXMLFiles()
222 TemplateURLPrepopulateData::GetSearchEngineLogo(gurl)); in ParseSearchEnginesFromXMLFiles()

123