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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move test stuff into MockWebCrypto 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: Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp
index 5f34563c965debc6146c6500ddb18a3792849f86..18cea204fea45e8a6a0ff12eeca598fbdd3036dd 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp
@@ -31,6 +31,7 @@
#include "public/testing/WebTestInterfaces.h"
#include "MockWebAudioDevice.h"
+#include "MockWebCrypto.h"
#include "MockWebMIDIAccessor.h"
#include "MockWebMediaStreamCenter.h"
#include "MockWebRTCPeerConnectionHandler.h"
@@ -115,4 +116,9 @@ WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate)
return new MockWebAudioDevice(sampleRate);
}
+WebCrypto* WebTestInterfaces::crypto()
+{
+ return MockWebCrypto::get();
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698