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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 2063683002: Migrate components/data_reduction_proxy to Mojo interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and move AddService call into RegisterRenderProcessMojoServices() Created 4 years, 6 months 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
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index f4414936e8e0e89a3495aec4073693e75ea35484..f5900ca479dfe04ff8f292abf321e0701ed9248d 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -32,7 +32,6 @@
#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"
@@ -602,11 +601,6 @@ void ChromeContentClient::AddAdditionalSchemes(
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();
}

Powered by Google App Engine
This is Rietveld 408576698