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

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

Issue 2809003004: bindings: Use ExceptionMessages when an interface/callback conversion fails. (Closed)
Patch Set: Add ExceptionMessages::FailedToConvertJSValue Created 3 years, 8 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/ExceptionMessages.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/ExceptionMessages.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.h
index 60f020b14440331ea9988eb2d97f8859c3409b41..ce6ed05db2e9dd48b2300253c5ed85814117269b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.h
@@ -54,6 +54,8 @@ class CORE_EXPORT ExceptionMessages {
const String& expected_type);
static String ConstructorNotCallableAsFunction(const char* type);
+ static String FailedToConvertJSValue(const char* type);
+
static String FailedToConstruct(const char* type, const String& detail);
static String FailedToEnumerate(const char* type, const String& detail);
static String FailedToExecute(const char* method,
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698