Chromium Code Reviews| Index: webkit/support/webkit_support.h |
| diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h |
| index 130642a4e54ed5ca21d81aeccc28cf71bf124037..01c13a330fd8ce93e103a09dfcf5fc37ff78f406 100644 |
| --- a/webkit/support/webkit_support.h |
| +++ b/webkit/support/webkit_support.h |
| @@ -41,6 +41,10 @@ namespace webkit_media { |
| class MediaStreamClient; |
| } |
| +class TestWebKitPlatformSupport; |
| +typedef TestWebKitPlatformSupport*(*PlatformSupportCreatorCallback)( |
|
tommi (sloooow) - chröme
2012/07/10 09:48:37
nit: add a space after the return type:
typedef Te
Tommy Widenflycht
2012/07/10 09:58:10
Done.
|
| + bool unit_test_mode); |
| + |
| // This package provides functions used by DumpRenderTree/chromium. |
| // DumpRenderTree/chromium uses some code in webkit/ of Chromium. In |
| // order to minimize the dependency from WebKit to Chromium, the |
| @@ -59,7 +63,9 @@ namespace webkit_support { |
| // TestSuite, in which case no AtExitManager is created and ICU is not |
| // initialized (as it is already done by the TestSuite). |
| void SetUpTestEnvironment(); |
| +void SetUpTestEnvironment(PlatformSupportCreatorCallback callback); |
| void SetUpTestEnvironmentForUnitTests(); |
| +void SetUpTestEnvironmentForUnitTests(PlatformSupportCreatorCallback callback); |
| void TearDownTestEnvironment(); |
| // Returns a pointer to a WebKitPlatformSupport implementation for |