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

Unified Diff: chrome/browser/supervised_user/supervised_user_navigation_observer.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: chrome/browser/supervised_user/supervised_user_navigation_observer.cc
diff --git a/chrome/browser/supervised_user/supervised_user_navigation_observer.cc b/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
index e354bbba7e08092e500b0c4573955835fe15b43b..82119651ec01430bf2ce32ccd0f2e87346b8bfa8 100644
--- a/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
+++ b/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
@@ -68,7 +68,7 @@ void SupervisedUserNavigationObserver::OnRequestBlockedInternal(
history::HistoryAddPageArgs add_page_args(
url, timestamp, history::ContextIDForWebContents(web_contents_), 0, url,
history::RedirectList(), ui::PAGE_TRANSITION_BLOCKED,
- history::SOURCE_BROWSED, false);
+ history::SOURCE_BROWSED, false, true);
// Add the entry to the history database.
Profile* profile =
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698