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

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

Issue 2338133006: [NTP] Fix article suggestion clicks contributing to Most Visited tiles (Closed)
Patch Set: Moved to HistoryTabHelper as suggested. 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..17ea9797e075d4d1b988f3331a4e336839df6efc 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, false));
}
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,
+ false));
}
void HistoryService::AddPage(const HistoryAddPageArgs& add_page_args) {

Powered by Google App Engine
This is Rietveld 408576698