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_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, |
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_ |
OLD | NEW |