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

Unified Diff: chrome/common/search/instant_types.cc

Issue 2532103002: Add support for components/ntp_tiles in InstantService (Closed)
Patch Set: rebase 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 | « chrome/common/search/instant_types.h ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search/instant_types.cc
diff --git a/chrome/common/search/instant_types.cc b/chrome/common/search/instant_types.cc
index 25b6e92c97a5320841e28acbe53edc819b5bfbc1..c602563cdff4c3ee69e17fd8222a43b415672862 100644
--- a/chrome/common/search/instant_types.cc
+++ b/chrome/common/search/instant_types.cc
@@ -88,7 +88,8 @@ const char kRLZParameterKey[] = "rlz";
const char kInputEncodingKey[] = "ie";
const char kAssistedQueryStatsKey[] = "aqs";
-InstantMostVisitedItem::InstantMostVisitedItem() {}
+InstantMostVisitedItem::InstantMostVisitedItem()
+ : source(ntp_tiles::NTPTileSource::TOP_SITES) {}
InstantMostVisitedItem::InstantMostVisitedItem(
const InstantMostVisitedItem& other) = default;
« no previous file with comments | « chrome/common/search/instant_types.h ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698