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

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 434833002: Add mock WebBlobRegistry to TestWebKitPlatformSupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on Windows. 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
Index: content/test/test_webkit_platform_support.cc
diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
index 7d21a429693123ce63504c087f52906449847c99..4bea8da82d5fce68bac3fe9db106128b84ae067c 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -113,8 +113,8 @@ TestWebKitPlatformSupport::~TestWebKitPlatformSupport() {
stats_table_.reset();
}
-blink::WebMimeRegistry* TestWebKitPlatformSupport::mimeRegistry() {
- return &mime_registry_;
+blink::WebBlobRegistry* TestWebKitPlatformSupport::blobRegistry() {
+ return &blob_registry_;
}
blink::WebClipboard* TestWebKitPlatformSupport::clipboard() {
@@ -133,6 +133,11 @@ blink::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {
return NULL;
}
+blink::WebMimeRegistry* TestWebKitPlatformSupport::mimeRegistry() {
+ return &mime_registry_;
+}
+
dcheng 2014/08/01 06:35:31 Extra newline.
pwnall-personal 2014/08/01 20:37:47 Done. Thank you!
+
blink::WebURLLoader* TestWebKitPlatformSupport::createURLLoader() {
return url_loader_factory_->CreateURLLoader(
BlinkPlatformImpl::createURLLoader());
« content/test/mock_webblob_registry_impl.cc ('K') | « content/test/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698