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

Side by Side Diff: chrome/browser/ntp_snippets/bookmark_last_visit_updater.h

Issue 2572433002: Disable tracking of visits to bookmarks in incognito (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698