| Index: chrome/renderer/renderer_main.cc
|
| diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
|
| index 48060c4ca1e0d627ea76f483f07edc34f0ea75f2..6c7f01b53de0bedffb3b54d0dec5cd86d1e54023 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
|
|
|