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

Side by Side Diff: content/test/render_test_utils.h

Issue 10449094: Fix client-side phishing detection test flakiness and ChromeOS failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Generalize the fix and apply it to webrtc_audio_device_test Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698