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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h

Issue 2166363003: Offline pages using NQE 2G Slow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clarifying comment Created 4 years, 5 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/common/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index a1df40adbb5e23dc95de5ff88505dd7582699c7c..bd0ccc74ff789588cb20496e9e7c55b0dd4c6d86 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -68,20 +68,24 @@ bool IsIncludedInLoFiEnabledFieldTrial();
bool IsIncludedInLoFiControlFieldTrial();
// Returns true if this client is part of the "Preview" group of the Lo-Fi field
// trial.
bool IsIncludedInLoFiPreviewFieldTrial();
// Returns true if this client is part of the field trial that should enable
// server experiments for the data reduction proxy.
bool IsIncludedInServerExperimentsFieldTrial();
+// Returns true if this client is part of the field trial that should enable
+// offline pages for prohibitvely slow networks.
+bool IsIncludedInOfflinePagesSlowConnectionFieldTrial();
tbansal1 2016/07/25 21:35:26 This should not be in DRP (Offline can be enabled
RyanSturm 2016/07/26 19:48:11 Done.
+
// Returns true if this client is part of the tamper detection experiment.
bool IsIncludedInTamperDetectionExperiment();
// Returns true if this client has any of the values to enable Lo-Fi mode for
// the "data-reduction-proxy-lo-fi" command line switch. This includes the
// "always-on", "cellular-only", and "slow-connections-only" values.
bool IsLoFiOnViaFlags();
// Returns true if this client has the command line switch to enable Lo-Fi
// mode always on.

Powered by Google App Engine
This is Rietveld 408576698