Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index c73a21c24ab52d31bf6176b4c4de3e55ce716d96..8785d3921320e3f0bfcf9ed3a74e6849cfc40522 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -73,7 +73,6 @@ |
#if defined(OS_CHROMEOS) |
#include "chrome/browser/chromeos/drive/drive_protocol_handler.h" |
-#include "chrome/browser/chromeos/gview_request_interceptor.h" |
#include "chrome/browser/chromeos/proxy_config_service_impl.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "chrome/browser/chromeos/settings/cros_settings_names.h" |
@@ -653,13 +652,6 @@ void ProfileIOData::SetUpJobFactoryDefaults( |
chrome::kDriveScheme, new drive::DriveProtocolHandler()); |
DCHECK(set_protocol); |
} |
-#if !defined(GOOGLE_CHROME_BUILD) |
- // 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)) |
- job_factory->AddInterceptor(new chromeos::GViewRequestInterceptor); |
-#endif // !defined(GOOGLE_CHROME_BUILD) |
#endif // defined(OS_CHROMEOS) |
job_factory->SetProtocolHandler( |