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