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

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 545553003: fileSystem() for the blink::Platform used in blink unit tests. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c0e3673a6d3e26b11b58e74c6620e731bef23373..a69fe64f3263a41d7ae894734478fce86cf6200f 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -11,6 +11,7 @@
#include "base/metrics/stats_counters.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
+#include "content/child/fileapi/webfilesystem_impl.h"
#include "content/public/common/content_switches.h"
#include "content/test/mock_webclipboard_impl.h"
#include "content/test/web_gesture_curve_mock.h"
@@ -127,6 +128,11 @@ blink::WebFileUtilities* TestWebKitPlatformSupport::fileUtilities() {
return &file_utilities_;
}
+blink::WebFileSystem* TestWebKitPlatformSupport::fileSystem() {
+ return WebFileSystemImpl::ThreadSpecificInstance(
+ base::MessageLoopProxy::current());
+}
+
blink::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {
NOTREACHED() <<
"IndexedDB cannot be tested with in-process harnesses.";
« no previous file with comments | « 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