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

Unified Diff: public/platform/WebUnitTestSupport.h

Issue 22645008: Add WebKitUnitTestSupport::readFromFile and deprecate all PlatformFileHandle related methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « public/platform/WebFileUtilities.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebUnitTestSupport.h
diff --git a/public/platform/WebUnitTestSupport.h b/public/platform/WebUnitTestSupport.h
index 43dd0fe6ca323c1baf96486fc8d3658b783c2be1..a97a013b7d92ec216fd9df9dfb57c8f5b6a93286 100644
--- a/public/platform/WebUnitTestSupport.h
+++ b/public/platform/WebUnitTestSupport.h
@@ -27,6 +27,7 @@
#define WebUnitTestSupport_h
#include "WebCommon.h"
+#include "WebData.h"
#include "WebString.h"
namespace WebKit {
@@ -56,9 +57,10 @@ public:
// Constructs a WebLayerTreeView set up with reasonable defaults for
// testing.
-
virtual WebLayerTreeView* createLayerTreeViewForTesting() { return 0; }
+ virtual WebData readFromFile(const WebString& path) { return WebData(); }
+
// DEPRECATED, use the version above.
#define HAVE_CREATELAYERTREEVIEWFORTESTING 1
enum TestViewType {
« no previous file with comments | « public/platform/WebFileUtilities.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698