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

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

Issue 1444493002: Fix hard-coding of "about:srcdoc" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 d6fcb7b37deea2a5caedf37c3230f845c2b75e66..e939c29f318cc36f1418ec667640239e6444a4d3 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -138,6 +138,7 @@ public:
bool protocolIsInHTTPFamily() const;
bool isLocalFile() const;
bool isAboutBlankURL() const; // Is exactly about:blank.
+ bool isAboutSrcdocURL() const; // Is exactly about:srcdoc
dominicc (has gone to gerrit) 2015/11/16 07:50:30 Nit: The previous line's comment ends with a perio
Xiaocheng 2015/11/17 05:25:47 Done.
bool setProtocol(const String&);
void setHost(const String&);
@@ -212,6 +213,7 @@ PLATFORM_EXPORT bool operator!=(const String&, const KURL&);
PLATFORM_EXPORT bool equalIgnoringFragmentIdentifier(const KURL&, const KURL&);
PLATFORM_EXPORT const KURL& blankURL();
+PLATFORM_EXPORT const KURL& srcdocURL();
// Functions to do URL operations on strings.
// These are operations that aren't faster on a parsed URL.

Powered by Google App Engine
This is Rietveld 408576698