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

Unified Diff: Source/modules/crypto/CryptoResultImpl.h

Issue 312653005: [ABANDONED] Use AsyncInitializerResolver in WebCrypto. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@async-initializer
Patch Set: rebase Created 6 years, 6 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/crypto/CryptoResultImpl.h
diff --git a/Source/modules/crypto/CryptoResultImpl.h b/Source/modules/crypto/CryptoResultImpl.h
index 117d6863218e978dd4a3a98503119949265fe4c7..7011033503d837b568ba282af2a2e480704d9111 100644
--- a/Source/modules/crypto/CryptoResultImpl.h
+++ b/Source/modules/crypto/CryptoResultImpl.h
@@ -32,6 +32,7 @@
#define CryptoResultImpl_h
#include "bindings/v8/ScriptPromise.h"
+#include "core/dom/AsyncInitializerResolver.h"
#include "platform/CryptoResult.h"
#include "public/platform/WebCrypto.h"
#include "wtf/Forward.h"
@@ -66,9 +67,9 @@ public:
private:
explicit CryptoResultImpl(ScriptState*);
+ class Initializer;
- class PromiseState;
- WeakPtr<PromiseState> m_promiseState;
+ WeakPtr<AsyncInitializerResolver<Initializer> > m_resolver;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/modules/crypto/CryptoResultImpl.cpp » ('j') | Source/modules/crypto/CryptoResultImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698