Chromium Code Reviews| Index: components/history/core/browser/history_types.h |
| diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h |
| index 9795ded30ae0f6bf2100568f573a5c819f5d6fab..24c024c2d8c9ea7fed122a91c765ce14b009b55d 100644 |
| --- a/components/history/core/browser/history_types.h |
| +++ b/components/history/core/browser/history_types.h |
| @@ -332,7 +332,7 @@ struct MostVisitedURL { |
| RedirectList redirects; |
| - bool operator==(const MostVisitedURL& other) { |
| + bool operator==(const MostVisitedURL& other) const { |
| return url == other.url; |
| } |
| }; |
| @@ -372,7 +372,7 @@ struct HistoryAddPageArgs { |
| // HistoryAddPageArgs( |
| // GURL(), base::Time(), NULL, 0, GURL(), |
| // RedirectList(), ui::PAGE_TRANSITION_LINK, |
| - // SOURCE_BROWSED, false) |
| + // SOURCE_BROWSED, false, true) |
| HistoryAddPageArgs(); |
| HistoryAddPageArgs(const GURL& url, |
| base::Time time, |
| @@ -382,7 +382,8 @@ struct HistoryAddPageArgs { |
| const RedirectList& redirects, |
| ui::PageTransition transition, |
| VisitSource source, |
| - bool did_replace_entry); |
| + bool did_replace_entry, |
| + bool consider_for_ntp_most_visited); |
| HistoryAddPageArgs(const HistoryAddPageArgs& other); |
| ~HistoryAddPageArgs(); |
| @@ -395,6 +396,7 @@ struct HistoryAddPageArgs { |
| ui::PageTransition transition; |
| VisitSource visit_source; |
| bool did_replace_entry; |
| + bool consider_for_ntp_most_visited; |
|
sky
2016/09/16 17:18:51
Document what this means (as it isn't readily obvi
mastiz
2016/09/16 17:58:21
Done.
|
| }; |
| // TopSites ------------------------------------------------------------------- |