diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 09:42:40 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 09:42:40 +0000 |
commit | bbf8210732634d7869038db6dc1f98aea8b51ba8 (patch) | |
tree | 2dfcd4dd83cff2cd481bfca665d47dfb44f8ccb7 /chrome/browser/ui/browser_init.cc | |
parent | 82616d315d614a2774f3b1b7cc5c19360ddb5ca7 (diff) | |
download | chromium_src-bbf8210732634d7869038db6dc1f98aea8b51ba8.zip chromium_src-bbf8210732634d7869038db6dc1f98aea8b51ba8.tar.gz chromium_src-bbf8210732634d7869038db6dc1f98aea8b51ba8.tar.bz2 |
Remove ProtocolFactory/Interceptor uses in GViewRequestInterceptor.
Gets rid of more use of net/ globals, replacing with URLRequestJobFactory uses. Helps make net/ more thread-compatible.
BUG=81979
TEST=none
Review URL: http://codereview.chromium.org/7019030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_init.cc')
-rw-r--r-- | chrome/browser/ui/browser_init.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc index 66252d7..d85113a 100644 --- a/chrome/browser/ui/browser_init.cc +++ b/chrome/browser/ui/browser_init.cc @@ -555,12 +555,6 @@ bool BrowserInit::LaunchBrowser(const CommandLine& command_line, // of what window has focus. chromeos::WmMessageListener::GetInstance(); - // Install the GView request interceptor that will redirect requests - // of compatible documents (PDF, etc) to the GView document viewer. - const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); - if (parsed_command_line.HasSwitch(switches::kEnableGView)) { - chromeos::GViewRequestInterceptor::GetInstance(); - } if (process_startup) { // This observer is a singleton. It is never deleted but the pointer is kept // in a static so that it isn't reported as a leak. |