Chromium Code Reviews| 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); |