| Index: content/renderer/renderer_webkitplatformsupport_impl.h
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
|
| index f125b0957326c6f10cdb63aee9b6994058bc7b45..413290928f5cb8f6ca7ed8446adfb51a0bb7d973 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.h
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.h
|
| @@ -92,6 +92,15 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
|
| virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
|
| WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
|
|
|
| + // Disables the WebSandboxSupport implementation for testing.
|
| + // Tests that do not set up a full sandbox environment should call
|
| + // SetSandboxEnabledForTesting(false) _before_ creating any instances
|
| + // of this class, to ensure that we don't attempt to use sandbox-related
|
| + // file descriptors or other resources.
|
| + //
|
| + // Returns the previous |enable| value.
|
| + static bool SetSandboxEnabledForTesting(bool enable);
|
| +
|
| protected:
|
| virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE;
|
|
|
|
|