| 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_PAGE_REVISIT_BROADCASTER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_REVISIT_BROADCASTER_H_ |
| 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_REVISIT_BROADCASTER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_REVISIT_BROADCASTER_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <vector> | 9 #include <vector> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "components/sync_sessions/revisit/page_visit_observer.h" | 12 #include "components/sync_sessions/revisit/page_visit_observer.h" |
| 12 #include "ui/base/page_transition_types.h" | 13 #include "ui/base/page_transition_types.h" |
| 13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 14 | 15 |
| 15 namespace sync_sessions { | 16 namespace sync_sessions { |
| 16 class SyncSessionsClient; | 17 class SyncSessionsClient; |
| 17 } | 18 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 47 SyncSessionsClient* const sessions_client_; | 48 SyncSessionsClient* const sessions_client_; |
| 48 | 49 |
| 49 std::vector<std::unique_ptr<PageVisitObserver>> revisit_observers_; | 50 std::vector<std::unique_ptr<PageVisitObserver>> revisit_observers_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(PageRevisitBroadcaster); | 52 DISALLOW_COPY_AND_ASSIGN(PageRevisitBroadcaster); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace sync_sessions | 55 } // namespace sync_sessions |
| 55 | 56 |
| 56 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_REVISIT_BROADCASTER_H_ | 57 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_REVISIT_BROADCASTER_H_ |
| OLD | NEW |