OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/task/cancelable_task_tracker.h" | 10 #include "base/task/cancelable_task_tracker.h" |
10 #include "components/sync_sessions/revisit/page_visit_observer.h" | 11 #include "components/sync_sessions/revisit/page_visit_observer.h" |
11 | 12 |
12 class GURL; | 13 class GURL; |
13 | 14 |
14 namespace history { | 15 namespace history { |
15 class HistoryService; | 16 class HistoryService; |
16 } // namespace history | 17 } // namespace history |
17 | 18 |
(...skipping 14 matching lines...) Expand all Loading... |
32 const base::WeakPtr<history::HistoryService> history_; | 33 const base::WeakPtr<history::HistoryService> history_; |
33 // This is never used to cancel tasks, but required by the history interface. | 34 // This is never used to cancel tasks, but required by the history interface. |
34 base::CancelableTaskTracker task_tracker_; | 35 base::CancelableTaskTracker task_tracker_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(TypedUrlPageRevisitObserver); | 37 DISALLOW_COPY_AND_ASSIGN(TypedUrlPageRevisitObserver); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace sync_sessions | 40 } // namespace sync_sessions |
40 | 41 |
41 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ | 42 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_TYPED_URL_PAGE_REVISIT_OBSERVER_H_ |
OLD | NEW |