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_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ |
6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ | 6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "components/sessions/core/session_id.h" | 13 #include "components/sessions/core/session_id.h" |
13 #include "components/sessions/core/sessions_export.h" | 14 #include "components/sessions/core/sessions_export.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class CancelableTaskTracker; | 17 class CancelableTaskTracker; |
17 class SequencedWorkerPool; | 18 class SequencedWorkerPool; |
18 } | 19 } |
19 | 20 |
20 class GURL; | 21 class GURL; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 base::CancelableTaskTracker* tracker) = 0; | 79 base::CancelableTaskTracker* tracker) = 0; |
79 | 80 |
80 // Called when a tab is restored. |url| is the URL that the tab is currently | 81 // Called when a tab is restored. |url| is the URL that the tab is currently |
81 // visiting. | 82 // visiting. |
82 virtual void OnTabRestored(const GURL& url); | 83 virtual void OnTabRestored(const GURL& url); |
83 }; | 84 }; |
84 | 85 |
85 } // namespace sessions | 86 } // namespace sessions |
86 | 87 |
87 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ | 88 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ |
OLD | NEW |