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

Unified Diff: content/shell/shell_main_delegate.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, 9 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/shell/shell_main_delegate.cc
===================================================================
--- content/shell/shell_main_delegate.cc (revision 129954)
+++ content/shell/shell_main_delegate.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/file_path.h"
#include "base/path_service.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/url_constants.h"
#include "content/shell/shell_browser_main.h"
#include "content/shell/shell_content_browser_client.h"
#include "content/shell/shell_content_plugin_client.h"
@@ -42,6 +43,7 @@
std::string process_type =
command_line.GetSwitchValueASCII(switches::kProcessType);
+ content::RegisterContentSchemes(NULL);
michaeln 2012/03/31 01:30:06 This is needed so the 'chrome' scheme is parsed in
content::SetContentClient(&content_client_);
InitializeShellContentClient(process_type);
« content/browser/resource_context_impl.cc ('K') | « content/browser/resource_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698