Chromium Code Reviews| Index: chrome/common/chrome_content_client.cc |
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
| index 3b9b5f823c3ed361476753c9382c1c78ddeec59f..cce8dddb552eb71849fb9bc83740382bfe987703 100644 |
| --- a/chrome/common/chrome_content_client.cc |
| +++ b/chrome/common/chrome_content_client.cc |
| @@ -30,6 +30,7 @@ |
| #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/content_constants.h" |
| @@ -539,6 +540,12 @@ void ChromeContentClient::AddAdditionalSchemes( |
| savable_schemes->push_back(dom_distiller::kDomDistillerScheme); |
| } |
| +bool ChromeContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { |
| + DCHECK(!content::ContentClient::CanSendWhileSwappedOut(message)); |
|
Charlie Reis
2015/09/02 17:35:05
You don't need this. ContentClient::CanSendWhileS
tbansal1
2015/09/02 17:38:47
Done.
|
| + return message->type() == |
| + DataReductionProxyViewHostMsg_DataReductionProxyStatus::ID; |
| +} |
| + |
| std::string ChromeContentClient::GetProduct() const { |
| return ::GetProduct(); |
| } |