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

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: Fix trybots failure 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..6e398576de8c901493336452c9e270f56ba9e8a9 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -13,6 +13,7 @@
#include "base/debug/crash_logging.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
+#include "base/memory/ptr_util.h"
Anand Mistry (off Chromium) 2016/06/24 07:12:28 Is this needed? I'm guessing the messages file bro
leonhsl(Using Gerrit) 2016/06/24 09:59:21 Actually it's not my codes need it ;-) https://cod
#include "base/memory/scoped_vector.h"
#include "base/native_library.h"
#include "base/path_service.h"
@@ -32,7 +33,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 +602,6 @@ void ChromeContentClient::AddAdditionalSchemes(
savable_schemes->push_back(dom_distiller::kDomDistillerScheme);
}
-bool ChromeContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
Anand Mistry (off Chromium) 2016/06/24 07:12:28 I honestly don't understand what's supposed to hap
leonhsl(Using Gerrit) 2016/06/24 09:59:21 From my understanding, under swapped-out status Re
leonhsl(Using Gerrit) 2016/06/24 15:33:47 Hi, tbansal@, megjablon@, I found that you have to
tbansal1 2016/06/24 15:57:08 leonhsi@, you are right. By default the IPCs are b
- return message->type() ==
- DataReductionProxyViewHostMsg_IsDataReductionProxy::ID;
-}
-
std::string ChromeContentClient::GetProduct() const {
return ::GetProduct();
}

Powered by Google App Engine
This is Rietveld 408576698