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

Unified Diff: components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc

Issue 2663183002: [NTP::Cleanup] Store tab id as int in SnippetArticle. (Closed)
Patch Set: clean rebase. Created 3 years, 11 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_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
diff --git a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
index 862b24bfecf5fd67e07deb09064f51cf56df2c18..64acc9347602c279b8b6eedf9c99507aa752edd2 100644
--- a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
+++ b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
@@ -39,7 +39,10 @@ namespace ntp_snippets {
namespace {
OfflinePageItem CreateDummyRecentTab(int id) {
- return test::CreateDummyOfflinePageItem(id, offline_pages::kLastNNamespace);
+ OfflinePageItem item =
+ test::CreateDummyOfflinePageItem(id, offline_pages::kLastNNamespace);
+ item.client_id.id = base::IntToString(id);
+ return item;
}
std::vector<OfflinePageItem> CreateDummyRecentTabs(

Powered by Google App Engine
This is Rietveld 408576698