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

Unified Diff: content/test/content_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
Index: content/test/content_test_suite.cc
===================================================================
--- content/test/content_test_suite.cc (revision 132480)
+++ content/test/content_test_suite.cc (working copy)
@@ -10,6 +10,7 @@
#include "content/browser/notification_service_impl.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_paths.h"
+#include "content/public/common/url_constants.h"
#include "content/test/test_content_client.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_paths.h"
@@ -71,6 +72,9 @@
base::TestSuite::Initialize();
+ const bool kDontLockStandardSchemes = false;
+ content::RegisterContentSchemes(kDontLockStandardSchemes);
michaeln 2012/04/17 04:08:26 This test suite gets initialized prior SetContentC
jam 2012/04/17 04:49:51 yeah i think it's better to add a few more lines t
michaeln 2012/04/17 19:23:32 Done.
+
content::RegisterPathProvider();
ui::RegisterPathProvider();

Powered by Google App Engine
This is Rietveld 408576698