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

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h

Issue 1363673004: [DRP] Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final comments Created 5 years, 2 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: components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h
index 884cc1f23158ab8adf19d9b60bd13d7c093011b4..a93038d4b5289ede96f54e05c1803f325a51b7ea 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h
@@ -6,7 +6,6 @@
#define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_MESSAGE_FILTER_H_
#include "base/macros.h"
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h"
#include "content/public/browser/browser_message_filter.h"
namespace net {
@@ -15,6 +14,7 @@ class HostPortPair;
namespace data_reduction_proxy {
+class DataReductionProxyConfig;
class DataReductionProxySettings;
// An IPC listener to handle DataReductionProxy IPC messages from the renderer.
@@ -25,11 +25,9 @@ class DataReductionProxyMessageFilter
DataReductionProxyMessageFilter(DataReductionProxySettings* settings);
// Sets |is_data_reduction_proxy| to true if the |proxy_server| corresponds to
- // a Data Reduction Proxy.
- // Sets |lofi_response| to the current status of the LoFi.
- void OnDataReductionProxyStatus(const net::HostPortPair& proxy_server,
- bool* is_data_reduction_proxy,
- LoFiStatus* lofi_status);
+ // a Data Reduction Proxy. |is_data_reduction_proxy| must not be null.
+ void OnIsDataReductionProxy(const net::HostPortPair& proxy_server,
+ bool* is_data_reduction_proxy);
private:
~DataReductionProxyMessageFilter() override;

Powered by Google App Engine
This is Rietveld 408576698