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

Unified Diff: webkit/support/webkit_support.h

Issue 10703114: Adding support for overriding TestWebKitPlatformSupport in DumpRenderTree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored to use a shadow PlatformSupport object Created 8 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: webkit/support/webkit_support.h
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h
index 130642a4e54ed5ca21d81aeccc28cf71bf124037..2f88263d5945d2f5b8a9af6e5b8854b72d632446 100644
--- a/webkit/support/webkit_support.h
+++ b/webkit/support/webkit_support.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
@@ -58,8 +59,9 @@ namespace webkit_support {
// SetUpTestEnvironmentForUnitTests() should be used when running in a
// TestSuite, in which case no AtExitManager is created and ICU is not
// initialized (as it is already done by the TestSuite).
-void SetUpTestEnvironment();
-void SetUpTestEnvironmentForUnitTests();
+void SetUpTestEnvironment(WebKit::Platform* shadow_platform_support = NULL);
+void SetUpTestEnvironmentForUnitTests(
+ WebKit::Platform* shadow_platform_support = NULL);
tony 2012/07/11 17:56:42 The style guide says no default arguments. Having
Tommy Widenflycht 2012/07/12 13:40:58 Done.
void TearDownTestEnvironment();
// Returns a pointer to a WebKitPlatformSupport implementation for

Powered by Google App Engine
This is Rietveld 408576698