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

Unified Diff: content/test/render_test_utils.cc

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, 7 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: content/test/render_test_utils.cc
diff --git a/content/test/render_test_utils.cc b/content/test/render_test_utils.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fc86cf8d101538ffc5eff9231198dc7385d53a17
--- /dev/null
+++ b/content/test/render_test_utils.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/test/render_test_utils.h"
+
+namespace content {
+
+WebKit::WebSandboxSupport*
+RendererWebKitPlatformSupportImplNoSandbox::sandboxSupport() {
+ return NULL;
+}
+
+RenderThreadImplNoSandbox::RenderThreadImplNoSandbox(
+ const std::string& channel_name)
+ : RenderThreadImpl(channel_name) {}
+
+RenderThreadImplNoSandbox::~RenderThreadImplNoSandbox() {}
+
+RendererWebKitPlatformSupportImpl*
+RenderThreadImplNoSandbox::CreateWebKitPlatformSupport() {
+ return new RendererWebKitPlatformSupportImplNoSandbox();
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698