| 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 "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "components/sessions/session_id.h" | 12 #include "components/sessions/core/session_id.h" |
| 13 #include "components/sessions/sessions_export.h" | 13 #include "components/sessions/core/sessions_export.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class CancelableTaskTracker; | 16 class CancelableTaskTracker; |
| 17 class SequencedWorkerPool; | 17 class SequencedWorkerPool; |
| 18 } | 18 } |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 | 21 |
| 22 namespace sessions { | 22 namespace sessions { |
| 23 | 23 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 base::CancelableTaskTracker* tracker) = 0; | 88 base::CancelableTaskTracker* tracker) = 0; |
| 89 | 89 |
| 90 // Called when a tab is restored. |url| is the URL that the tab is currently | 90 // Called when a tab is restored. |url| is the URL that the tab is currently |
| 91 // visiting. | 91 // visiting. |
| 92 virtual void OnTabRestored(const GURL& url); | 92 virtual void OnTabRestored(const GURL& url); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace sessions | 95 } // namespace sessions |
| 96 | 96 |
| 97 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ | 97 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ |
| OLD | NEW |