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

Unified Diff: components/ntp_tiles/tile_source.h

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: android Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: components/ntp_tiles/tile_source.h
diff --git a/components/ntp_tiles/ntp_tile_source.h b/components/ntp_tiles/tile_source.h
similarity index 71%
rename from components/ntp_tiles/ntp_tile_source.h
rename to components/ntp_tiles/tile_source.h
index 1ac85a91b719609701a3f617a600c4520e9e5fc2..f8aec297ad2641fcf957c0563e47c0014d985e28 100644
--- a/components/ntp_tiles/ntp_tile_source.h
+++ b/components/ntp_tiles/tile_source.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
-#define COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
+#ifndef COMPONENTS_NTP_TILES_TILE_SOURCE_H_
+#define COMPONENTS_NTP_TILES_TILE_SOURCE_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 {
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.suggestions
+enum class TileSource {
// Tile comes from the personal top sites list, based on local history.
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-
// Tile comes from the suggestions service, based on synced history.
@@ -25,4 +25,4 @@ enum class NTPTileSource {
} // namespace ntp_tiles
-#endif // COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_
+#endif // COMPONENTS_NTP_TILES_TILE_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698