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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h

Issue 2718663004: Add const char* overloads to blink::ExceptionState (Closed)
Patch Set: Devirtualize Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
index fd45146001944ae4560b538156ddf3ed3fc795a5..c1628c187509d3eb8bfa7b874dca565552f371bb 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
@@ -104,6 +104,12 @@ class CORE_EXPORT ExceptionState {
}
}
+ void throwDOMException(ExceptionCode, const char* message);
+ void throwRangeError(const char* message);
+ void throwSecurityError(const char* sanitizedMessage,
+ const char* unsanitizedMessage = nullptr);
+ void throwTypeError(const char* message);
+
virtual void throwDOMException(ExceptionCode, const String& message);
virtual void throwRangeError(const String& message);
virtual void throwSecurityError(const String& sanitizedMessage,
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698