| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |