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

Unified Diff: components/ntp_tiles/ntp_tile.h

Issue 2544883006: Cleanup: Replace NTPLoggingTileSource by ntp_tiles::NTPTileSource (Closed)
Patch Set: tests Created 4 years 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
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/ntp_tiles/ntp_tile_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/ntp_tile.h
diff --git a/components/ntp_tiles/ntp_tile.h b/components/ntp_tiles/ntp_tile.h
index ef228b54b385dfe68d82c4265150dbcd23757d9b..fa37cf8568c096836159447c3213f6fee9ab712e 100644
--- a/components/ntp_tiles/ntp_tile.h
+++ b/components/ntp_tiles/ntp_tile.h
@@ -10,24 +10,11 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/strings/string16.h"
+#include "components/ntp_tiles/ntp_tile_source.h"
#include "url/gurl.h"
namespace ntp_tiles {
-// The source of an NTP tile.
-// A Java counterpart will be generated for this enum.
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp
-enum class NTPTileSource {
- // Tile comes from the personal top sites list, based on local history.
- TOP_SITES,
- // Tile comes from the suggestions service, based on synced history.
- SUGGESTIONS_SERVICE,
- // Tile is regionally popular.
- POPULAR,
- // Tile is on an custodian-managed whitelist.
- WHITELIST
-};
-
// A suggested site shown on the New Tab Page.
struct NTPTile {
base::string16 title;
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/ntp_tiles/ntp_tile_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698