From 64d50ed649d61c5b84b09369b091018f70547bf8 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 22 Sep 2009 21:05:47 +0000 Subject: Move FTP LIST parsing code to the renderer process. TEST=none BUG=none Review URL: http://codereview.chromium.org/210027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26860 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/renderer_main.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/renderer') 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 -- cgit v1.1