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

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

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: add back histogram enums 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
« no previous file with comments | « components/ntp_tiles/ntp_tile.cc ('k') | components/ntp_tiles/tile_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
6 #define COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
7
8 namespace ntp_tiles {
9
10 // The source of an NTP tile.
11 // A Java counterpart will be generated for this enum.
12 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp
13 enum class NTPTileSource {
14 // Tile comes from the personal top sites list, based on local history.
15 TOP_SITES,
16 // Tile comes from the suggestions service, based on synced history.
17 SUGGESTIONS_SERVICE,
18 // Tile is regionally popular.
19 POPULAR,
20 // Tile is on a custodian-managed whitelist.
21 WHITELIST,
22
23 LAST = WHITELIST
24 };
25
26 } // namespace ntp_tiles
27
28 #endif // COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
OLDNEW
« no previous file with comments | « components/ntp_tiles/ntp_tile.cc ('k') | components/ntp_tiles/tile_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698