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

Unified Diff: components/history/core/browser/history_types.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_types.cc
diff --git a/components/history/core/browser/history_types.cc b/components/history/core/browser/history_types.cc
index 5d9ea3c805b95486b19e94b4733362c923b93382..a44ba92839d23417958c0ae07c38320d35a2eea2 100644
--- a/components/history/core/browser/history_types.cc
+++ b/components/history/core/browser/history_types.cc
@@ -254,6 +254,7 @@ HistoryAddPageArgs::HistoryAddPageArgs()
RedirectList(),
ui::PAGE_TRANSITION_LINK,
SOURCE_BROWSED,
+ false,
false) {
}
@@ -265,7 +266,8 @@ HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
const RedirectList& redirects,
ui::PageTransition transition,
VisitSource source,
- bool did_replace_entry)
+ bool did_replace_entry,
+ bool ignore_for_ntp_most_visited)
: url(url),
time(time),
context_id(context_id),
@@ -274,7 +276,8 @@ HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
redirects(redirects),
transition(transition),
visit_source(source),
- did_replace_entry(did_replace_entry) {
+ did_replace_entry(did_replace_entry),
+ ignore_for_ntp_most_visited(ignore_for_ntp_most_visited) {
}
HistoryAddPageArgs::HistoryAddPageArgs(const HistoryAddPageArgs& other) =

Powered by Google App Engine
This is Rietveld 408576698