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

Side by Side Diff: components/ntp_tiles/tile_source.h

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: android Created 3 years, 8 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_NTP_TILES_NTP_TILE_SOURCE_H_ 5 #ifndef COMPONENTS_NTP_TILES_TILE_SOURCE_H_
6 #define COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_ 6 #define COMPONENTS_NTP_TILES_TILE_SOURCE_H_
7 7
8 namespace ntp_tiles { 8 namespace ntp_tiles {
9 9
10 // The source of an NTP tile. 10 // The source of an NTP tile.
11 // A Java counterpart will be generated for this enum. 11 // A Java counterpart will be generated for this enum.
12 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp 12 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.suggestions
13 enum class NTPTileSource { 13 enum class TileSource {
14 // Tile comes from the personal top sites list, based on local history. 14 // Tile comes from the personal top sites list, based on local history.
15 TOP_SITES, 15 TOP_SITES,
sfiera 2017/04/03 13:38:10 You know, we've talked about renaming these to CLI
Marc Treib 2017/04/03 13:52:00 Yup, but this CL is already way too large. Follow-
16 // Tile comes from the suggestions service, based on synced history. 16 // Tile comes from the suggestions service, based on synced history.
17 SUGGESTIONS_SERVICE, 17 SUGGESTIONS_SERVICE,
18 // Tile is regionally popular. 18 // Tile is regionally popular.
19 POPULAR, 19 POPULAR,
20 // Tile is on a custodian-managed whitelist. 20 // Tile is on a custodian-managed whitelist.
21 WHITELIST, 21 WHITELIST,
22 22
23 LAST = WHITELIST 23 LAST = WHITELIST
24 }; 24 };
25 25
26 } // namespace ntp_tiles 26 } // namespace ntp_tiles
27 27
28 #endif // COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_ 28 #endif // COMPONENTS_NTP_TILES_TILE_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698