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

Unified Diff: Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h

Issue 392993005: Custom handlers should throw SecurityError exception if the URL's origin differs from the document'… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Done Created 6 years, 3 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: Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h
diff --git a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h
index 8a85d0c0a77f3d6307380913896a7f687c0ef016..76271890a4f9e91eccabe2d988acdd410563640c 100644
--- a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h
+++ b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h
@@ -19,15 +19,14 @@ public:
NavigatorContentUtilsClientMock() { }
virtual ~NavigatorContentUtilsClientMock() { }
- virtual void registerProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&, const String& title);
+ virtual void registerProtocolHandler(const String& scheme, const KURL&, const String& title);
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&);
- virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&);
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&);
+ virtual void unregisterProtocolHandler(const String& scheme, const KURL&);
private:
typedef struct {
String scheme;
- KURL baseURL;
KURL url;
String title;
} ProtocolInfo;

Powered by Google App Engine
This is Rietveld 408576698