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

Unified Diff: components/previews/core/previews_experiments.h

Issue 2760063002: Add support to previews/ for Server LoFi and LitePages (Closed)
Patch Set: build fix Created 3 years, 9 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/previews/core/previews_experiments.h
diff --git a/components/previews/core/previews_experiments.h b/components/previews/core/previews_experiments.h
index a41f02fef613e95581ef9e4840a58c0c0ada3971..9c9c8e5b9221333f27a86df7461d17544e992def 100644
--- a/components/previews/core/previews_experiments.h
+++ b/components/previews/core/previews_experiments.h
@@ -64,9 +64,13 @@ enum class PreviewsType {
NONE = 0,
// The user is shown an offline page as a preview.
OFFLINE = 1,
+ // The user is shown a server lite page.
+ LITE_PAGE = 2,
+ // The user is shown a server LoFi page.
+ SERVER_LOFI = 3,
// Insert new enum values here. Keep values sequential to allow looping
// from NONE+1 to LAST-1.
- LAST = 2,
+ LAST = 4,
};
typedef std::vector<std::pair<PreviewsType, int>> PreviewsTypeList;

Powered by Google App Engine
This is Rietveld 408576698