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

Unified Diff: components/history/core/browser/history_types.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
« no previous file with comments | « components/history/core/browser/history_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c6d3edacac1b0bcc79822108cc2277d2e1045772 100644
--- a/components/history/core/browser/history_types.cc
+++ b/components/history/core/browser/history_types.cc
@@ -254,7 +254,8 @@ HistoryAddPageArgs::HistoryAddPageArgs()
RedirectList(),
ui::PAGE_TRANSITION_LINK,
SOURCE_BROWSED,
- false) {
+ false,
+ true) {
}
HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
@@ -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 consider_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),
+ consider_for_ntp_most_visited(consider_for_ntp_most_visited) {
}
HistoryAddPageArgs::HistoryAddPageArgs(const HistoryAddPageArgs& other) =
« no previous file with comments | « components/history/core/browser/history_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698