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

Unified Diff: content/test/test_webkit_platform_support.h

Issue 434833002: Add mock WebBlobRegistry to TestWebKitPlatformSupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 6 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
« no previous file with comments | « content/test/mock_webblob_registry_impl.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_webkit_platform_support.h
diff --git a/content/test/test_webkit_platform_support.h b/content/test/test_webkit_platform_support.h
index 3c983dc94050894a9b6c9c05e28eb342fb119ce9..ddfcf0b1e8e6a7595cf3be40cfafd35f1e199d33 100644
--- a/content/test/test_webkit_platform_support.h
+++ b/content/test/test_webkit_platform_support.h
@@ -11,6 +11,7 @@
#include "content/child/simple_webmimeregistry_impl.h"
#include "content/child/webfileutilities_impl.h"
#include "content/renderer/compositor_bindings/web_compositor_support_impl.h"
+#include "content/test/mock_webblob_registry_impl.h"
#include "content/test/mock_webclipboard_impl.h"
#include "content/test/weburl_loader_mock_factory.h"
#include "third_party/WebKit/public/platform/WebUnitTestSupport.h"
@@ -33,10 +34,11 @@ class TestWebKitPlatformSupport
TestWebKitPlatformSupport();
virtual ~TestWebKitPlatformSupport();
- virtual blink::WebMimeRegistry* mimeRegistry();
+ virtual blink::WebBlobRegistry* blobRegistry();
virtual blink::WebClipboard* clipboard();
virtual blink::WebFileUtilities* fileUtilities();
virtual blink::WebIDBFactory* idbFactory();
+ virtual blink::WebMimeRegistry* mimeRegistry();
virtual blink::WebURLLoader* createURLLoader();
virtual blink::WebString userAgent() OVERRIDE;
@@ -89,6 +91,7 @@ class TestWebKitPlatformSupport
virtual blink::WebData readFromFile(const blink::WebString& path);
private:
+ MockWebBlobRegistryImpl blob_registry_;
SimpleWebMimeRegistryImpl mime_registry_;
scoped_ptr<MockWebClipboardImpl> mock_clipboard_;
WebFileUtilitiesImpl file_utilities_;
« no previous file with comments | « content/test/mock_webblob_registry_impl.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698