Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.h

Issue 2644633006: Add KURL::protocolIsJavascript member function (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/weborigin/KURL.h
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h
index c6d38fb6584ff517ec8c7239d05fd0ff92812493..c4b1426751296643a2b6c0443d13404588e65ea8 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -142,6 +142,7 @@ class PLATFORM_EXPORT KURL {
bool protocolIsData() const { return protocolIs("data"); }
// This includes at least about:blank and about:srcdoc.
bool protocolIsAbout() const { return protocolIs("about"); }
+ bool protocolIsJavaScript() const;
bool protocolIsInHTTPFamily() const;
bool isLocalFile() const;
bool isAboutBlankURL() const; // Is exactly about:blank.
« no previous file with comments | « third_party/WebKit/Source/core/loader/NavigationScheduler.cpp ('k') | third_party/WebKit/Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698