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

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

Issue 2247063002: Allow loading MHTML archive from content scheme (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 ff5c68fa30783ba9cb190ee450a0785781b31d76..bf1c71c37d6b76c89bf1c48cc4f427f23d9798ce 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -137,6 +137,7 @@ public:
bool protocolIsData() const { return protocolIs("data"); }
// This includes at least about:blank and about:srcdoc.
bool protocolIsAbout() const { return protocolIs("about"); }
+ bool protocolIsContent() const { return protocolIs("content"); }
jianli 2016/08/15 23:12:02 Probably no need to add a general check here since
Vivian 2016/08/16 21:00:44 Done.
bool protocolIsInHTTPFamily() const;
bool isLocalFile() const;
bool isAboutBlankURL() const; // Is exactly about:blank.

Powered by Google App Engine
This is Rietveld 408576698