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

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

Issue 1210633002: Update navigator.services API to use the new services.onconnect event [1/3]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-part3
Patch Set: rebase Created 5 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/bindings/core/v8/ExceptionState.h
diff --git a/Source/bindings/core/v8/ExceptionState.h b/Source/bindings/core/v8/ExceptionState.h
index e42cebd2fa707287db8c7ff965ac22ff543a0c21..695aa16117f137ae56b1aa0b82d4e1273a2619d8 100644
--- a/Source/bindings/core/v8/ExceptionState.h
+++ b/Source/bindings/core/v8/ExceptionState.h
@@ -43,6 +43,7 @@
namespace blink {
typedef int ExceptionCode;
+class ScriptPromiseResolver;
class ScriptState;
class CORE_EXPORT ExceptionState {
@@ -100,6 +101,9 @@ public:
// This method clears out the exception which |this| has.
ScriptPromise reject(ScriptState*);
+ // This method clears out the exception which |this| has.
+ void reject(ScriptPromiseResolver*);
+
Context context() const { return m_context; }
const char* propertyName() const { return m_propertyName; }
const char* interfaceName() const { return m_interfaceName; }

Powered by Google App Engine
This is Rietveld 408576698