/external/chromium_org/url/ |
gurl_unittest.cc | 6 #include "url/gurl.h" 40 GURL gurl(src); 41 return gurl.possibly_invalid_spec(); 69 // Test the basic creation and querying of components in a GURL. We assume 73 GURL url(WStringToUTF16(L"http://user:pass@google.com:99/foo;bar?q=a#ref")); 92 GURL url_special_pass("http://user:%40!$&'()*+,;=:@google.com:12345"); 94 // GURL canonicalizes some delimiters. 101 GURL url; 117 GURL url(WStringToUTF16(L"http://user:pass@google.com:99/foo;bar?q=a#ref")) [all...] |
/external/chromium_org/chrome/browser/captive_portal/ |
captive_portal_tab_helper_unittest.cc | 88 void SimulateSuccess(const GURL& url, 102 void SimulateTimeout(const GURL& url, 115 render_view_host->GetMainFrame(), GURL(kErrorPageUrl), true, false); 120 GURL(kErrorPageUrl), 125 void SimulateAbort(const GURL& url, 151 void SimulateAbortTimeout(const GURL& url, 207 void OnRedirect(ResourceType type, const GURL& new_url, int child_id) { 247 SimulateSuccess(GURL(kHttpUrl), render_view_host1()); 252 SimulateTimeout(GURL(kHttpUrl), render_view_host1()); 260 SimulateTimeout(GURL(kHttpUrl), render_view_host1()) [all...] |
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_appcache_helper_unittest.cc | 46 GURL manifest1("http://example1.com/manifest.xml"); 47 GURL manifest2("http://example2.com/path1/manifest.xml"); 48 GURL manifest3("http://example2.com/path2/manifest.xml"); 61 std::map<GURL, content::AppCacheInfoVector>& collection = 71 std::set<GURL> manifest_results; 81 GURL manifest("http://example.com/manifest.xml"); 93 std::map<GURL, content::AppCacheInfoVector>& collection = 105 GURL manifest("http://example.com/manifest.xml"); 120 GURL manifest1("http://example.com/manifest1.xml"); 121 GURL manifest2("http://foo.example.com/manifest2.xml") [all...] |
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_device_data_unittest.cc | 31 device.set_device_description_url(GURL("http://127.0.0.1/dd.xml")); 45 original.set_device_description_url(GURL("http://127.0.0.1/dd-a.xml")); 52 new_data.set_device_description_url(GURL("http://127.0.0.1/dd-a.xml")); 67 EXPECT_EQ(GURL("http://127.0.0.1/dd-a.xml"), 75 new_data.set_device_description_url(GURL("http://127.0.0.2/dd-b.xml")); 80 EXPECT_EQ(GURL("http://127.0.0.2/dd-b.xml"), 90 GURL("http://some.device.com/dd.xml"))); 92 GURL("https://some.device.com/dd.xml"))); 94 GURL("http://192.168.1.1:1234/dd.xml"))); 96 GURL("https://192.168.1.1:1234/dd.xml"))) [all...] |
/external/chromium_org/chrome/browser/ui/ |
singleton_tabs.cc | 20 bool CompareURLsWithReplacements(const GURL& url, 21 const GURL& other, 26 GURL url_replaced = url.ReplaceComponents(replacements); 27 GURL other_replaced = other.ReplaceComponents(replacements); 33 void ShowSingletonTab(Browser* browser, const GURL& url) { 38 void ShowSingletonTabRespectRef(Browser* browser, const GURL& url) { 51 const GURL& contents_url = contents->GetURL(); 52 if ((contents_url == GURL(kChromeUINewTabURL) || IsInstantNTP(contents) || 53 contents_url == GURL(url::kAboutBlankURL)) && 63 const GURL& url) [all...] |
/external/chromium_org/components/dom_distiller/webui/ |
dom_distiller_handler.cc | 17 #include "url/gurl.h" 23 GURL GetViewUrlFromArgs(const std::string& scheme, 27 const GURL gurl(url); 28 if (url_utils::IsUrlDistillable(gurl)) { 29 return url_utils::GetDistillerViewUrlFromUrl(scheme, gurl); 32 return GURL(); 64 GURL gurl(url); 65 if (gurl.is_valid()) [all...] |
/external/chromium_org/components/content_settings/core/common/ |
content_settings_pattern_unittest.cc | 8 #include "url/gurl.h" 24 TEST(ContentSettingsPatternTest, GURL) { 25 // Document and verify GURL behavior. 26 GURL url("http://mail.google.com:80"); 30 url = GURL("http://mail.google.com"); 34 url = GURL("https://mail.google.com:443"); 38 url = GURL("https://mail.google.com"); 42 url = GURL("http://mail.google.com"); 48 // NOTICE: When content settings pattern are created from a GURL the following 50 // - If the GURL scheme is "http" the scheme wildcard is used. Otherwise th [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_utils.h | 19 class GURL; 56 const GURL& primary_url, 57 const GURL& secondary_url, 63 const GURL& primary_url, 64 const GURL& secondary_url, 73 const GURL& primary_url, 74 const GURL& secondary_url, 81 const GURL& primary_url, 82 const GURL& secondary_url,
|
/external/chromium_org/chrome/browser/safe_browsing/ |
ping_manager.h | 19 #include "url/gurl.h" 41 void ReportSafeBrowsingHit(const GURL& malicious_url, 42 const GURL& page_url, 43 const GURL& referrer_url, 67 GURL SafeBrowsingHitUrl( 68 const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, 72 GURL MalwareDetailsUrl() const;
|
/external/chromium_org/chrome/browser/services/gcm/ |
push_messaging_application_id_unittest.cc | 9 EXPECT_TRUE(gcm::PushMessagingApplicationId(GURL("https://www.example.com/"), 11 EXPECT_TRUE(gcm::PushMessagingApplicationId(GURL("https://www.example.com"), 13 EXPECT_FALSE(gcm::PushMessagingApplicationId(GURL(""), 1).IsValid()); 14 EXPECT_FALSE(gcm::PushMessagingApplicationId(GURL("foo"), 1).IsValid()); 16 GURL("https://www.example.com/foo"), 1).IsValid()); 18 GURL("https://www.example.com/#foo"), 1).IsValid()); 19 EXPECT_FALSE(gcm::PushMessagingApplicationId(GURL("https://www.example.com/"), 25 EXPECT_EQ(gcm::PushMessagingApplicationId(GURL("https://www.example.com/"), 1) 28 EXPECT_EQ(gcm::PushMessagingApplicationId(GURL("https://www.example.com"), 1)
|
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_message_filter.h | 14 class GURL; 51 const GURL& origin); 56 const base::string16& value, const GURL& page_url); 60 const GURL& page_url); 61 void OnClear(int connection_id, const GURL& page_url); 71 const GURL& page_url) OVERRIDE; 76 const GURL& page_url) OVERRIDE; 79 const GURL& page_url) OVERRIDE; 84 const GURL& page_url,
|
/external/chromium_org/android_webview/browser/ |
aw_content_browser_client.h | 59 virtual bool AllowAppCache(const GURL& manifest_url, 60 const GURL& first_party, 62 virtual bool AllowGetCookie(const GURL& url, 63 const GURL& first_party, 68 virtual bool AllowSetCookie(const GURL& url, 69 const GURL& first_party, 76 const GURL& url, 83 const GURL& url, 88 const GURL& url, 99 const GURL& request_url [all...] |
/external/chromium_org/chrome/browser/android/ |
meta_tag_observer.h | 10 class GURL; 22 const GURL& validated_url) OVERRIDE; 29 const GURL& expected_url) = 0; 36 const GURL& expected_url); 39 GURL validated_url_;
|
/external/chromium_org/chrome/browser/history/ |
top_sites_cache.cc | 12 TopSitesCache::CanonicalURLQuery::CanonicalURLQuery(const GURL& url) { 42 Images* TopSitesCache::GetImage(const GURL& url) { 47 const GURL& url, 49 std::map<GURL, Images>::const_iterator found = 61 bool TopSitesCache::GetPageThumbnailScore(const GURL& url, 63 std::map<GURL, Images>::const_iterator found = 72 const GURL& TopSitesCache::GetCanonicalURL(const GURL& url) const { 77 GURL TopSitesCache::GetGeneralizedCanonicalURL(const GURL& url) const [all...] |
/external/chromium_org/chrome/browser/net/ |
preconnect.h | 13 class GURL; 24 void PreconnectOnUIThread(const GURL& url, 25 const GURL& first_party_for_cookies, 33 void PreconnectOnIOThread(const GURL& url, 34 const GURL& first_party_for_cookies,
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_editor_unittest.cc | 19 model->AddURL(bookmarkbar, 0, ASCIIToUTF16("url0"), GURL("chrome://newtab")); 20 model->AddURL(bookmarkbar, 1, ASCIIToUTF16("url1"), GURL("chrome://newtab")); 29 GURL(std::string())); 39 GURL(std::string())); 49 GURL(std::string()));
|
/external/chromium_org/chrome/renderer/searchbox/ |
search_bouncer.cc | 18 bool SearchBouncer::ShouldFork(const GURL& url) const { 21 for (std::vector<GURL>::const_iterator it = search_urls_.begin(); 30 bool SearchBouncer::IsNewTabPage(const GURL& url) const { 45 std::vector<GURL> search_urls, 46 GURL new_tab_page_url) {
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_service_helpers.h | 12 #include "url/gurl.h" 17 GURL GetUrlForJobStatusUpdate(const GURL& cloud_print_server_url, 22 GURL GetUrlForJobStatusUpdate(const GURL& cloud_print_server_url,
|
/external/chromium_org/components/dom_distiller/core/ |
fake_distiller.h | 13 #include "url/gurl.h" 15 class GURL; 44 const GURL& url, 52 GURL GetUrl() { return url_; } 63 GURL url_;
|
/external/chromium_org/components/history/core/test/ |
history_client_fake_bookmarks.cc | 19 void HistoryClientFakeBookmarks::AddBookmark(const GURL& url) { 24 const GURL& url, 29 void HistoryClientFakeBookmarks::DelBookmark(const GURL& url) { 33 bool HistoryClientFakeBookmarks::IsBookmarked(const GURL& url) { 40 typedef std::map<GURL, base::string16>::const_iterator iterator;
|
/external/chromium_org/components/navigation_interception/ |
navigation_params.h | 11 #include "url/gurl.h" 17 NavigationParams(const GURL& url, 26 const GURL& url() const { return url_; } 27 GURL& url() { return url_; } 37 GURL url_;
|
/external/chromium_org/content/browser/appcache/ |
appcache.h | 19 #include "url/gurl.h" 42 typedef std::map<GURL, AppCacheEntry> EntryMap; 55 void AddEntry(const GURL& url, const AppCacheEntry& entry); 60 bool AddOrModifyEntry(const GURL& url, const AppCacheEntry& entry); 63 void RemoveEntry(const GURL& url); 66 AppCacheEntry* GetEntry(const GURL& url); 71 int64 response_id, GURL* optional_url); 84 GURL GetFallbackEntryUrl(const GURL& namespace_url) const { 87 GURL GetInterceptEntryUrl(const GURL& namespace_url) const [all...] |
appcache_executable_handler.h | 11 #include "url/gurl.h" 23 // A handler can respond in one of 4 ways, if each of the GURL fields 27 GURL cached_resource_url; 28 GURL redirect_url; 46 const GURL& handler_url, net::IOBuffer* handler_source) = 0;
|
/external/chromium_org/content/browser/streams/ |
stream_handle_impl.h | 25 const GURL& original_url, 32 virtual const GURL& GetURL() OVERRIDE; 33 virtual const GURL& GetOriginalURL() OVERRIDE; 39 GURL url_; 40 GURL original_url_;
|
/external/chromium_org/content/browser/webui/ |
web_ui_controller_factory_registry.h | 23 WebUI* web_ui, const GURL& url) const OVERRIDE; 25 const GURL& url) const OVERRIDE; 27 const GURL& url) const OVERRIDE; 29 const GURL& url) const OVERRIDE; 35 const GURL& url) const;
|