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

Unified Diff: content/app/content_main_runner.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
« no previous file with comments | « no previous file | content/browser/resource_context_impl.cc » ('j') | content/browser/resource_context_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
===================================================================
--- content/app/content_main_runner.cc (revision 129954)
+++ content/app/content_main_runner.cc (working copy)
@@ -27,6 +27,7 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/main_function_params.h"
#include "content/public/common/sandbox_init.h"
+#include "content/public/common/url_constants.h"
#include "crypto/nss_util.h"
#include "ipc/ipc_switches.h"
#include "media/base/media.h"
@@ -466,6 +467,8 @@
if (delegate)
delegate->PreSandboxStartup();
+ else
jam 2012/04/02 16:19:25 you're assuming that the presence of a delegate me
michaeln 2012/04/02 19:37:22 Sure, is this what you intend... * add an uncondi
jam 2012/04/02 20:23:13 yep
+ content::RegisterContentSchemes(NULL);
if (!process_type.empty())
CommonSubprocessInit(process_type);
« no previous file with comments | « no previous file | content/browser/resource_context_impl.cc » ('j') | content/browser/resource_context_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698