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

Side by Side Diff: components/previews/core/previews_experiments.h

Issue 2333003002: Changed previews component to be a layered component. (Closed)
Patch Set: Rebased on master Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PREVIEWS_PREVIEWS_EXPERIMENTS_H_ 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
6 #define COMPONENTS_PREVIEWS_PREVIEWS_EXPERIMENTS_H_ 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
7 7
8 namespace previews { 8 namespace previews {
9 9
10 // Returns true if any client-side previews experiment is active. 10 // Returns true if any client-side previews experiment is active.
11 bool IsIncludedInClientSidePreviewsExperimentsFieldTrial(); 11 bool IsIncludedInClientSidePreviewsExperimentsFieldTrial();
12 12
13 // Returns true if the field trial that should enable offline pages for 13 // Returns true if the field trial that should enable offline pages for
14 // prohibitvely slow networks is active. 14 // prohibitvely slow networks is active.
15 bool IsOfflinePreviewsEnabled(); 15 bool IsOfflinePreviewsEnabled();
16 16
17 // Sets the appropriate state for field trial and variations to imitate the 17 // Sets the appropriate state for field trial and variations to imitate the
18 // offline pages field trial. 18 // offline pages field trial.
19 bool EnableOfflinePreviewsForTesting(); 19 bool EnableOfflinePreviewsForTesting();
20 20
21 } // namespace previews 21 } // namespace previews
22 22
23 #endif // COMPONENTS_PREVIEWS_PREVIEWS_EXPERIMENTS_H_ 23 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
OLDNEW
« no previous file with comments | « components/previews/core/previews_data_savings_unittest.cc ('k') | components/previews/core/previews_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698