Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2393)

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 11411071: chromeos: Remove GViewRequestInterceptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete GViewRequestInterceptor Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/profile_startup.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/chromeos/profile_startup.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698