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

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 9950040: Get chrome:// dev tool urls hooked up in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/common/url_constants.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_test_suite.cc
===================================================================
--- chrome/test/base/chrome_test_suite.cc (revision 133033)
+++ chrome/test/base/chrome_test_suite.cc (working copy)
@@ -166,7 +166,10 @@
base::TestSuite::Initialize();
- chrome::RegisterChromeSchemes();
+ chrome::ChromeContentClient client_for_init;
+ content::SetContentClient(&client_for_init);
+ content::RegisterContentSchemes(false);
+ content::SetContentClient(NULL);
chrome::RegisterPathProvider();
content::RegisterPathProvider();
« no previous file with comments | « chrome/common/url_constants.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698