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

Unified Diff: chrome/test/in_process_browser_test.cc

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/in_process_browser_test.cc
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc
index 69c8890caefd0ab4dc9d120af7718b24ce7f798b..62e2946b7a359dddc630148b36f1250629b7462a 100644
--- a/chrome/test/in_process_browser_test.cc
+++ b/chrome/test/in_process_browser_test.cc
@@ -36,7 +36,7 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/main_function_params.h"
#include "content/common/notification_type.h"
-#include "content/renderer/content_renderer_client.h"
+#include "content/renderer/mock_content_renderer_client.h"
#include "net/base/mock_host_resolver.h"
#include "net/test/test_server.h"
#include "sandbox/src/dep.h"
@@ -132,7 +132,8 @@ void InProcessBrowserTest::SetUp() {
// and set up renderer.
if (command_line->HasSwitch(switches::kSingleProcess)) {
RenderProcessHost::set_run_renderer_in_process(true);
- single_process_renderer_client_.reset(new content::ContentRendererClient);
+ single_process_renderer_client_.reset(
+ new content::MockContentRendererClient);
content::GetContentClient()->set_renderer(
single_process_renderer_client_.get());
}

Powered by Google App Engine
This is Rietveld 408576698