| 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_SESSIONS_PAGE_REVISIT_OBSERVER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_SESSIONS_PAGE_REVISIT_OBSERVER_H_ |
| 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_SESSIONS_PAGE_REVISIT_OBSERVER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_SESSIONS_PAGE_REVISIT_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "components/sync_sessions/revisit/page_visit_observer.h" | 13 #include "components/sync_sessions/revisit/page_visit_observer.h" |
| 13 | 14 |
| 14 class GURL; | 15 class GURL; |
| 15 | 16 |
| 16 namespace sessions { | 17 namespace sessions { |
| 17 struct SessionTab; | 18 struct SessionTab; |
| 18 } // namespace sessions | 19 } // namespace sessions |
| 19 | 20 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 void CheckForRevisit(const GURL& url, const TransitionType transition); | 60 void CheckForRevisit(const GURL& url, const TransitionType transition); |
| 60 | 61 |
| 61 scoped_ptr<ForeignSessionsProvider> provider_; | 62 scoped_ptr<ForeignSessionsProvider> provider_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(SessionsPageRevisitObserver); | 64 DISALLOW_COPY_AND_ASSIGN(SessionsPageRevisitObserver); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace sync_sessions | 67 } // namespace sync_sessions |
| 67 | 68 |
| 68 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_SESSIONS_PAGE_REVISIT_OBSERVER_H_ | 69 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_SESSIONS_PAGE_REVISIT_OBSERVER_H_ |
| OLD | NEW |