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

Unified Diff: content/test/test_webkit_platform_support.h

Issue 41703005: Revert "Trim more dead code from webkit/support/" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « no previous file | 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 9202e9a862128e001751c49dc47b6514c3b7b6b5..6c01f84cdcbd6f8d63955dc1a25fdda869358262 100644
--- a/content/test/test_webkit_platform_support.h
+++ b/content/test/test_webkit_platform_support.h
@@ -12,6 +12,7 @@
#include "third_party/WebKit/public/platform/WebUnitTestSupport.h"
#include "webkit/child/webkitplatformsupport_child_impl.h"
#include "webkit/glue/simple_webmimeregistry_impl.h"
+#include "webkit/glue/webfileutilities_impl.h"
#include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h"
namespace WebKit {
@@ -30,10 +31,11 @@ class TestWebKitPlatformSupport
virtual WebKit::WebMimeRegistry* mimeRegistry();
virtual WebKit::WebClipboard* clipboard();
+ virtual WebKit::WebFileUtilities* fileUtilities();
+ virtual WebKit::WebIDBFactory* idbFactory();
virtual WebKit::WebURLLoader* createURLLoader();
- virtual WebKit::WebString defaultLocale();
-
+ virtual WebKit::WebData loadResource(const char* name);
virtual WebKit::WebString queryLocalizedString(
WebKit::WebLocalizedString::Name name);
virtual WebKit::WebString queryLocalizedString(
@@ -43,6 +45,7 @@ class TestWebKitPlatformSupport
WebKit::WebLocalizedString::Name name,
const WebKit::WebString& value1,
const WebKit::WebString& value2);
+ virtual WebKit::WebString defaultLocale();
#if defined(OS_WIN) || defined(OS_MACOSX)
void SetThemeEngine(WebKit::WebThemeEngine* engine);
@@ -55,6 +58,10 @@ class TestWebKitPlatformSupport
return url_loader_factory_.get();
}
+ const base::FilePath& file_system_root() const {
+ return file_system_root_.path();
+ }
+
virtual base::string16 GetLocalizedString(int message_id) OVERRIDE;
virtual base::StringPiece GetDataResource(
int resource_id,
@@ -92,6 +99,8 @@ class TestWebKitPlatformSupport
private:
webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
scoped_ptr<MockWebClipboardImpl> mock_clipboard_;
+ webkit_glue::WebFileUtilitiesImpl file_utilities_;
+ base::ScopedTempDir file_system_root_;
scoped_ptr<WebURLLoaderMockFactory> url_loader_factory_;
webkit::WebCompositorSupportImpl compositor_support_;
« no previous file with comments | « no previous file | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698