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_CURRENT_TAB_MATCHER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_CURRENT_TAB_MATCHER_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_CURRENT_TAB_MATCHER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_CURRENT_TAB_MATCHER_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
9 #include "components/sync_sessions/revisit/page_equality.h" | 10 #include "components/sync_sessions/revisit/page_equality.h" |
10 #include "components/sync_sessions/revisit/page_visit_observer.h" | 11 #include "components/sync_sessions/revisit/page_visit_observer.h" |
11 | 12 |
12 namespace sessions { | 13 namespace sessions { |
13 struct SessionTab; | 14 struct SessionTab; |
14 }; // namespace sessions | 15 }; // namespace sessions |
15 | 16 |
16 namespace sync_sessions { | 17 namespace sync_sessions { |
17 | 18 |
18 // This class checks the current navigation entry for the given tabs to see if | 19 // This class checks the current navigation entry for the given tabs to see if |
(...skipping 10 matching lines...) Expand all Loading... |
29 | 30 |
30 const PageEquality page_equality_; | 31 const PageEquality page_equality_; |
31 const sessions::SessionTab* most_recent_match_ = nullptr; | 32 const sessions::SessionTab* most_recent_match_ = nullptr; |
32 | 33 |
33 DISALLOW_COPY_AND_ASSIGN(CurrentTabMatcher); | 34 DISALLOW_COPY_AND_ASSIGN(CurrentTabMatcher); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace sync_sessions | 37 } // namespace sync_sessions |
37 | 38 |
38 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_CURRENT_TAB_MATCHER_H_ | 39 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_CURRENT_TAB_MATCHER_H_ |
OLD | NEW |