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

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

Issue 2854893003: Adding an Android about:flags feature for offline previews (Closed)
Patch Set: rebase on enums.xml Created 3 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 unified diff | Download patch
« no previous file with comments | « components/previews/core/BUILD.gn ('k') | components/previews/core/previews_experiments.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CORE_PREVIEWS_EXPERIMENTS_H_ 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_ 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Replace images with placeholders generated on the client. 78 // Replace images with placeholders generated on the client.
79 CLIENT_LOFI = 2, 79 CLIENT_LOFI = 2,
80 80
81 // Insert new enum values here. Keep values sequential to allow looping 81 // Insert new enum values here. Keep values sequential to allow looping
82 // from NONE+1 to LAST-1. 82 // from NONE+1 to LAST-1.
83 LAST = 3, 83 LAST = 3,
84 }; 84 };
85 85
86 typedef std::vector<std::pair<PreviewsType, int>> PreviewsTypeList; 86 typedef std::vector<std::pair<PreviewsType, int>> PreviewsTypeList;
87 87
88 // Returns true if any client-side previews experiment is active.
89 bool IsIncludedInClientSidePreviewsExperimentsFieldTrial();
90
91 } // namespace previews 88 } // namespace previews
92 89
93 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_ 90 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_EXPERIMENTS_H_
OLDNEW
« no previous file with comments | « components/previews/core/BUILD.gn ('k') | components/previews/core/previews_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698