diff options
Diffstat (limited to 'chrome/renderer/renderer_main.cc')
-rw-r--r-- | chrome/renderer/renderer_main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc index 48060c4..6c7f01b 100644 --- a/chrome/renderer/renderer_main.cc +++ b/chrome/renderer/renderer_main.cc @@ -20,11 +20,13 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/logging_chrome.h" #include "chrome/common/main_function_params.h" +#include "chrome/common/net/net_resource_provider.h" #include "chrome/renderer/renderer_main_platform_delegate.h" #include "chrome/renderer/render_process.h" #include "chrome/renderer/render_thread.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" +#include "net/base/net_module.h" #if defined(OS_LINUX) #include "chrome/app/breakpad_linux.h" @@ -86,6 +88,9 @@ int RendererMain(const MainFunctionParams& parameters) { InitCrashReporter(); #endif + // Configure the network module so it has access to resources. + net::NetModule::SetResourceProvider(chrome_common_net::NetResourceProvider); + // This function allows pausing execution using the --renderer-startup-dialog // flag allowing us to attach a debugger. // Do not move this function down since that would mean we can't easily debug |