Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 // | |
| 5 // This file contains implementations of WebKitPlatformSupport and | |
| 6 // RenderThreadImpl which can be used for tests, where sandbox support is | |
| 7 // not available. | |
| 8 | |
| 9 #ifndef CONTENT_TEST_RENDER_TEST_UTILS_H_ | |
| 10 #define CONTENT_TEST_RENDER_TEST_UTILS_H_ | |
| 11 #pragma once | |
| 12 | |
| 13 #include "base/compiler_specific.h" | |
| 14 #include "content/renderer/render_thread_impl.h" | |
| 15 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | |
|
jam
2012/06/01 22:11:24
we don't allow headers in content/test to "leak th
| |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 class RendererWebKitPlatformSupportImplNoSandbox : | |
| 20 public RendererWebKitPlatformSupportImpl { | |
| 21 public: | |
| 22 virtual WebKit::WebSandboxSupport* sandboxSupport() OVERRIDE; | |
| 23 }; | |
|
jochen (gone - plz use gerrit)
2012/06/01 12:11:38
DISALLOW_COPY_AND_ASSING, here and below?
| |
| 24 | |
| 25 class RenderThreadImplNoSandbox : public RenderThreadImpl { | |
| 26 public: | |
| 27 explicit RenderThreadImplNoSandbox(const std::string& channel_name); | |
| 28 virtual ~RenderThreadImplNoSandbox(); | |
| 29 | |
| 30 protected: | |
| 31 virtual RendererWebKitPlatformSupportImpl* | |
| 32 CreateWebKitPlatformSupport() OVERRIDE; | |
| 33 }; | |
| 34 | |
| 35 } // namespace content | |
| 36 | |
| 37 #endif // CONTENT_TEST_RENDER_TEST_UTILS_H_ | |
| OLD | NEW |