Home
last modified time | relevance | path

Searched refs:SchemeIs (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/chromium_org/chrome/browser/ui/toolbar/
Dorigin_chip_info.cc39 DCHECK(url.is_empty() || url.SchemeIs(content::kChromeUIScheme)); in StringForChromeHost()
116 if (displayed_url_.SchemeIs(extensions::kExtensionScheme)) { in Update()
146 displayed_url_.SchemeIs(content::kChromeUIScheme)) ? in Update()
176 if (url.SchemeIs(content::kViewSourceScheme)) in LabelFromURLForProfile()
181 if (url.SchemeIs(url::kAboutScheme)) in LabelFromURLForProfile()
185 if (url.is_empty() || url.SchemeIs(content::kChromeUIScheme)) { in LabelFromURLForProfile()
192 if (url.SchemeIs(extensions::kExtensionScheme)) { in LabelFromURLForProfile()
201 if (url.SchemeIsHTTPOrHTTPS() || url.SchemeIs(url::kFtpScheme)) { in LabelFromURLForProfile()
233 if (url.SchemeIs(chrome::kChromeNativeScheme) || in LabelFromURLForProfile()
234 url.SchemeIs(url::kBlobScheme) || in LabelFromURLForProfile()
[all …]
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_util.cc100 if (url.SchemeIs("http")) return kHttpURLScheme; in URLScheme()
101 if (url.SchemeIs("https")) return kHttpsURLScheme; in URLScheme()
102 if (url.SchemeIs("ftp")) return kFtpURLScheme; in URLScheme()
103 if (url.SchemeIs("chrome-extension")) return kChromeExtensionURLScheme; in URLScheme()
104 if (url.SchemeIs("javascript")) return kJavascriptURLScheme; in URLScheme()
105 if (url.SchemeIs("file")) return kFileURLScheme; in URLScheme()
106 if (url.SchemeIs("blob")) return kBlobURLScheme; in URLScheme()
107 if (url.SchemeIs("data")) return kDataURLScheme; in URLScheme()
108 if (url.SchemeIs("filesystem")) return kFileSystemScheme; in URLScheme()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_permissions.cc71 return (url.SchemeIs(url::kAboutScheme) || url.SchemeIs(url::kFileScheme) || in HasWebRequestScheme()
72 url.SchemeIs(url::kFileSystemScheme) || in HasWebRequestScheme()
73 url.SchemeIs(url::kFtpScheme) || url.SchemeIs(url::kHttpScheme) || in HasWebRequestScheme()
74 url.SchemeIs(url::kHttpsScheme) || in HasWebRequestScheme()
75 url.SchemeIs(extensions::kExtensionScheme)); in HasWebRequestScheme()
133 if (!((url.SchemeIs(url::kAboutScheme) || in CanExtensionAccessURL()
/external/chromium_org/chrome/browser/prerender/
Dprerender_util.cc246 if (url.SchemeIs("data")) { in ReportUnsupportedPrerenderScheme()
248 } else if (url.SchemeIs("blob")) { in ReportUnsupportedPrerenderScheme()
255 } else if (url.SchemeIs("ws") || url.SchemeIs("wss")) { in ReportUnsupportedPrerenderScheme()
257 } else if (url.SchemeIs("ftp")) { in ReportUnsupportedPrerenderScheme()
259 } else if (url.SchemeIs("chrome")) { in ReportUnsupportedPrerenderScheme()
261 } else if (url.SchemeIs("chrome-extension")) { in ReportUnsupportedPrerenderScheme()
264 } else if (url.SchemeIs("about")) { in ReportUnsupportedPrerenderScheme()
/external/chromium_org/content/public/common/
Durl_utils.cc27 url.SchemeIs(kChromeDevToolsScheme) || in HasWebUIScheme()
29 url.SchemeIs(kChromeUIScheme); in HasWebUIScheme()
34 if (url.SchemeIs(GetSavableSchemes()[i])) in IsSavableURL()
/external/chromium_org/chrome/browser/translate/
Dtranslate_service.cc121 return !url.is_empty() && !url.SchemeIs(content::kChromeUIScheme) && in IsTranslatableURL()
122 !url.SchemeIs(content::kChromeDevToolsScheme) && in IsTranslatableURL()
124 !(url.SchemeIs(extensions::kExtensionScheme) && in IsTranslatableURL()
127 !url.SchemeIs(url::kFtpScheme); in IsTranslatableURL()
/external/chromium_org/chrome/renderer/extensions/
Dresource_request_policy.cc37 CHECK(resource_url.SchemeIs(extensions::kExtensionScheme)); in CanRequestResource()
78 bool is_dev_tools = page_url.SchemeIs(content::kChromeDevToolsScheme) && in CanRequestResource()
107 CHECK(resource_url.SchemeIs(extensions::kExtensionResourceScheme)); in CanRequestExtensionResourceScheme()
111 !frame_url.SchemeIs(extensions::kExtensionScheme)) { in CanRequestExtensionResourceScheme()
/external/chromium_org/url/
Dgurl.h214 bool SchemeIs(const char* lower_ascii_scheme) const;
225 return SchemeIs(url::kFileScheme); in SchemeIsFile()
230 return SchemeIs(url::kFileSystemScheme); in SchemeIsFileSystem()
235 return SchemeIs(url::kHttpsScheme) || SchemeIs(url::kWssScheme) || in SchemeIsSecure()
/external/chromium_org/chrome/browser/ui/website_settings/
Dwebsite_settings_utils.cc13 return url.SchemeIs(content::kChromeUIScheme) || in InternalChromePage()
14 url.SchemeIs(extensions::kExtensionScheme); in InternalChromePage()
/external/chromium_org/chrome/utility/importer/
Dbookmarks_file_importer.cc38 if (url.SchemeIs(kInvalidSchemes[i])) in CanImportURL()
48 if (url.SchemeIs(content::kChromeUIScheme) || in CanImportURL()
49 url.SchemeIs(url::kAboutScheme)) { in CanImportURL()
/external/chromium_org/chrome/browser/extensions/
Dextension_url_rewrite_browsertest.cc66 GetNavigationEntry()->GetURL().SchemeIs(extensions::kExtensionScheme)); in TestExtensionURLOverride()
92 EXPECT_TRUE(GetNavigationEntry()->GetURL().SchemeIs( in IN_PROC_BROWSER_TEST_F()
106 EXPECT_TRUE(navigation->GetURL().SchemeIs(extensions::kExtensionScheme)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/common/
Dsearch_urls.cc17 (my_url.SchemeIs(url::kHttpsScheme) && in MatchesOrigin()
18 other_url.SchemeIs(url::kHttpScheme))); in MatchesOrigin()
/external/chromium_org/chrome/browser/policy/
Dpolicy_helpers.cc28 if (!url.SchemeIs("chrome") && !url.SchemeIs("chrome-extension")) { in OverrideBlacklistForURL()
/external/chromium_org/webkit/common/appcache/
Dappcache_interfaces.cc115 bool supported = url.SchemeIs(kHttpScheme) || url.SchemeIs(kHttpsScheme) || in IsSchemeSupported()
116 url.SchemeIs(kDevToolsScheme); in IsSchemeSupported()
/external/chromium_org/chrome/browser/android/
Dnew_tab_page_url_handler.cc25 if (url->SchemeIs(content::kChromeUIScheme) && in HandleAndroidNewTabURL()
38 if (url->SchemeIs(chrome::kChromeNativeScheme) && in HandleAndroidNewTabURL()
/external/chromium_org/content/public/browser/
Durl_data_source.cc49 if (request->url().SchemeIs(kChromeDevToolsScheme) || in ShouldServiceRequest()
50 request->url().SchemeIs(kChromeUIScheme)) in ShouldServiceRequest()
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_util.cc40 !virtual_url.SchemeIs(content::kChromeUIScheme) && in ShouldSyncTab()
41 !virtual_url.SchemeIs(chrome::kChromeNativeScheme) && in ShouldSyncTab()
/external/chromium_org/chrome/browser/renderer_host/
Doffline_resource_throttle.cc121 return !net::IsLocalhost(url.host()) && (url.SchemeIs(url::kFtpScheme) || in IsRemote()
122 url.SchemeIs(url::kHttpScheme) || in IsRemote()
123 url.SchemeIs(url::kHttpsScheme)); in IsRemote()
/external/chromium_org/net/http/
Dhttp_stream_factory_impl.cc119 DCHECK(!request_info.url.SchemeIs("ftp")); in RequestStreamInternal()
135 DCHECK(!request_info.url.SchemeIs("ftp")); in RequestStreamInternal()
185 if (original_url.SchemeIs("ftp")) in GetAlternateProtocolRequestFor()
235 !(original_url.SchemeIs("http") || in GetAlternateProtocolRequestFor()
291 bool use_relative_url = direct || request->url().SchemeIs("https"); in OnNewSpdySessionReady()
/external/chromium_org/content/browser/
Dbrowser_url_handler_impl.cc20 if (url->SchemeIs(kViewSourceScheme)) { in HandleViewSource()
46 if (url->SchemeIs(all_allowed_sub_schemes[i].c_str())) { in HandleViewSource()
65 if (url->SchemeIs(kViewSourceScheme)) in ReverseViewSource()
/external/chromium_org/net/socket_stream/
Dsocket_stream_metrics.cc21 if (url.SchemeIs("ws")) in SocketStreamMetrics()
23 else if (url.SchemeIs("wss")) in SocketStreamMetrics()
/external/chromium_org/chrome/browser/net/
Dpredictor_tab_helper.cc52 if (url.SchemeIs(url::kHttpScheme) || url.SchemeIs(url::kHttpsScheme)) in DidStartNavigationToPendingEntry()
/external/chromium_org/extensions/common/
Dextension_set.cc75 if (url.SchemeIs(kExtensionScheme)) in GetExtensionOrAppIDByURL()
86 if (url.SchemeIs(kExtensionScheme)) in GetExtensionOrAppByURL()
142 if (url.SchemeIs(kExtensionScheme)) in ExtensionBindingsAllowed()
/external/chromium_org/android_webview/renderer/
Daw_content_renderer_client.cc101 (gurl.SchemeIs(url::kHttpScheme) || gurl.SchemeIs(url::kHttpsScheme) || in HandleNavigation()
102 gurl.SchemeIs(url::kAboutScheme))) in HandleNavigation()
/external/chromium_org/chrome/browser/history/
Durl_utils.cc75 if (url.SchemeIs("http")) in ToggleHTTPAndHTTPS()
77 else if (url.SchemeIs("https")) in ToggleHTTPAndHTTPS()

12345678910