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

Unified Diff: components/previews/previews_experiments.h

Issue 2166363003: Offline pages using NQE 2G Slow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig comments 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/previews/previews_experiments.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/previews/previews_experiments.h
diff --git a/components/previews/previews_experiments.h b/components/previews/previews_experiments.h
index 2a79eb552f40ed4b28c17597b50e0574b1bb3f99..7fff9c476a9b0e332ae4c29b02335781ac4f72a2 100644
--- a/components/previews/previews_experiments.h
+++ b/components/previews/previews_experiments.h
@@ -7,13 +7,17 @@
namespace previews {
// Returns true if any client-side previews experiment is active.
bool IsIncludedInClientSidePreviewsExperimentsFieldTrial();
// Returns true if the field trial that should enable offline pages for
// prohibitvely slow networks is active.
bool IsOfflinePreviewsEnabled();
+// Sets the appropriate state for field trial and variations to imitate the
+// offline pages field trial.
+bool EnableOfflinePreviewsForTesting();
+
} // namespace previews
#endif // COMPONENTS_PREVIEWS_PREVIEWS_EXPERIMENTS_H_
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/previews/previews_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698