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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.h

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/NavigatorContentUtils.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index 8a6ab88c92ce610edb9dc8d7a49df6da6569e5dc..ce57b485fe364bd06a46f4cd9e15fa14c9f2a831 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -36,9 +36,10 @@
namespace WebCore {
-class ExceptionState;
-class Navigator;
class Page;
+class Navigator;
+
+typedef int ExceptionCode;
class NavigatorContentUtils : public RefCountedSupplement<Page, NavigatorContentUtils> {
public:
@@ -47,11 +48,11 @@ public:
static const char* supplementName();
static NavigatorContentUtils* from(Page*);
- static void registerProtocolHandler(Navigator*, const String& scheme, const String& url, const String& title, ExceptionState&);
+ static void registerProtocolHandler(Navigator*, const String& scheme, const String& url, const String& title, ExceptionCode&);
#if ENABLE(CUSTOM_SCHEME_HANDLER)
- static String isProtocolHandlerRegistered(Navigator*, const String& scheme, const String& url, ExceptionState&);
- static void unregisterProtocolHandler(Navigator*, const String& scheme, const String& url, ExceptionState&);
+ static String isProtocolHandlerRegistered(Navigator*, const String& scheme, const String& url, ExceptionCode&);
+ static void unregisterProtocolHandler(Navigator*, const String& scheme, const String& url, ExceptionCode&);
#endif
static PassRefPtr<NavigatorContentUtils> create(NavigatorContentUtilsClient*);
« no previous file with comments | « Source/modules/mediastream/UserMediaRequest.cpp ('k') | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698