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

Unified Diff: components/history/core/browser/history_service.cc

Issue 2338133006: [NTP] Fix article suggestion clicks contributing to Most Visited tiles (Closed)
Patch Set: Updated trivial occurrence in unit test. Created 4 years, 3 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/history/core/browser/history_service.cc
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
index a7e47e12a931a21a49958dc3fb669277e152decb..5e62f47897056448e3345297c92b668cefb9fea6 100644
--- a/components/history/core/browser/history_service.cc
+++ b/components/history/core/browser/history_service.cc
@@ -378,7 +378,7 @@ void HistoryService::AddPage(const GURL& url,
DCHECK(thread_checker_.CalledOnValidThread());
AddPage(HistoryAddPageArgs(url, time, context_id, nav_entry_id, referrer,
redirects, transition, visit_source,
- did_replace_entry));
+ did_replace_entry, true));
}
void HistoryService::AddPage(const GURL& url,
@@ -386,7 +386,8 @@ void HistoryService::AddPage(const GURL& url,
VisitSource visit_source) {
DCHECK(thread_checker_.CalledOnValidThread());
AddPage(HistoryAddPageArgs(url, time, nullptr, 0, GURL(), RedirectList(),
- ui::PAGE_TRANSITION_LINK, visit_source, false));
+ ui::PAGE_TRANSITION_LINK, visit_source, false,
+ true));
}
void HistoryService::AddPage(const HistoryAddPageArgs& add_page_args) {
« no previous file with comments | « components/history/core/browser/history_backend_unittest.cc ('k') | components/history/core/browser/history_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698