| Index: chrome/common/chrome_content_client.cc
|
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
|
| index 92a23fb892bf60837489d184c5dfb20e4f3104a8..eb4d107e69992982a04248824dae12a4387911cf 100644
|
| --- a/chrome/common/chrome_content_client.cc
|
| +++ b/chrome/common/chrome_content_client.cc
|
| @@ -27,21 +27,20 @@
|
| #include "build/build_config.h"
|
| #include "chrome/common/child_process_logging.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/crash_keys.h"
|
| #include "chrome/common/pepper_flash.h"
|
| #include "chrome/common/secure_origin_whitelist.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/grit/common_resources.h"
|
| -#include "components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h"
|
| #include "components/dom_distiller/core/url_constants.h"
|
| #include "components/version_info/version_info.h"
|
| #include "content/public/common/cdm_info.h"
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/user_agent.h"
|
| #include "extensions/common/constants.h"
|
| #include "gpu/config/gpu_info.h"
|
| #include "net/http/http_util.h"
|
| @@ -620,25 +619,20 @@ void ChromeContentClient::AddAdditionalSchemes(
|
| referrer_schemes->push_back(
|
| {chrome::kAndroidAppScheme, url::SCHEME_WITHOUT_PORT});
|
| #endif
|
|
|
| savable_schemes->push_back(extensions::kExtensionScheme);
|
| savable_schemes->push_back(extensions::kExtensionResourceScheme);
|
| savable_schemes->push_back(chrome::kChromeSearchScheme);
|
| savable_schemes->push_back(dom_distiller::kDomDistillerScheme);
|
| }
|
|
|
| -bool ChromeContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
|
| - return message->type() ==
|
| - DataReductionProxyViewHostMsg_IsDataReductionProxy::ID;
|
| -}
|
| -
|
| std::string ChromeContentClient::GetProduct() const {
|
| return ::GetProduct();
|
| }
|
|
|
| std::string ChromeContentClient::GetUserAgent() const {
|
| return ::GetUserAgent();
|
| }
|
|
|
| base::string16 ChromeContentClient::GetLocalizedString(int message_id) const {
|
| return l10n_util::GetStringUTF16(message_id);
|
|
|