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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc

Issue 1140443002: Modify IPC call to properly record the PLT histograms for LoFi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fixes to comments. Created 5 years, 7 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/core/browser/data_reduction_proxy_config.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
index 20154b7923b5a34f6df2f23adde6aaa825af9f3f..71afa1acf9f2b9975cd53da2ad76ac3c37216f69 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
@@ -229,6 +229,24 @@ bool DataReductionProxyConfig::AreProxiesBypassed(
return bypassed;
}
+bool DataReductionProxyConfig::IsNetworkBad() const {
+ // TODO(tbansal): This must return the network quality based on
+ // network quality estimated by NQE.
jeremyim 2015/05/11 17:30:21 At least add the thread_checker_ DCHECK.
tbansal1 2015/05/11 21:22:53 Done.
+ return false;
+}
+
+bool DataReductionProxyConfig::IsIncludedInLoFiEnabledFieldTrial() const {
+ // TODO(tbansal): This must return if the current session is in the LoFi
+ // enabled finch group.
+ return false;
+}
+
+bool DataReductionProxyConfig::IsIncludedInLoFiControlFieldTrial() const {
+ // TODO(tbansal): This must return if the current session is in the LoFi
+ // control finch group.
+ return false;
+}
+
bool DataReductionProxyConfig::IsProxyBypassed(
const net::ProxyRetryInfoMap& retry_map,
const net::ProxyServer& proxy_server,

Powered by Google App Engine
This is Rietveld 408576698