OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ | 5 #ifndef CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ |
6 #define CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ | 6 #define CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // Overridden from content::WebContentsObserver: | 74 // Overridden from content::WebContentsObserver: |
75 void DidStartNavigation( | 75 void DidStartNavigation( |
76 content::NavigationHandle* navigation_handle) override; | 76 content::NavigationHandle* navigation_handle) override; |
77 void DidRedirectNavigation( | 77 void DidRedirectNavigation( |
78 content::NavigationHandle* navigation_handle) override; | 78 content::NavigationHandle* navigation_handle) override; |
79 | 79 |
80 void NewURLVisited(content::NavigationHandle* navigation_handle); | 80 void NewURLVisited(content::NavigationHandle* navigation_handle); |
81 | 81 |
82 bookmarks::BookmarkModel* bookmark_model_; | 82 bookmarks::BookmarkModel* bookmark_model_; |
83 content::WebContents* web_contents_; | 83 content::WebContents* web_contents_; |
| 84 bool tracking_enabled_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(BookmarkLastVisitUpdater); | 86 DISALLOW_COPY_AND_ASSIGN(BookmarkLastVisitUpdater); |
86 }; | 87 }; |
87 | 88 |
88 #endif // CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ | 89 #endif // CHROME_BROWSER_NTP_SNIPPETS_BOOKMARK_LAST_VISIT_UPDATER_H_ |
OLD | NEW |