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