OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DELEGATE_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_DELEGATE_H_ |
6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_DELEGATE_H_ | 6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "components/sessions/session_id.h" | 11 #include "components/sessions/core/session_id.h" |
12 #include "components/sessions/sessions_export.h" | 12 #include "components/sessions/core/sessions_export.h" |
13 | 13 |
14 namespace sessions { | 14 namespace sessions { |
15 | 15 |
16 class LiveTab; | 16 class LiveTab; |
17 class SerializedNavigationEntry; | 17 class SerializedNavigationEntry; |
18 class PlatformSpecificTabData; | 18 class PlatformSpecificTabData; |
19 | 19 |
20 // Objects implement this interface to provide necessary functionality for | 20 // Objects implement this interface to provide necessary functionality for |
21 // TabRestoreService to operate. These methods are mostly copies of existing | 21 // TabRestoreService to operate. These methods are mostly copies of existing |
22 // Browser methods. | 22 // Browser methods. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const std::string& user_agent_override) = 0; | 67 const std::string& user_agent_override) = 0; |
68 virtual void CloseTab() = 0; | 68 virtual void CloseTab() = 0; |
69 | 69 |
70 protected: | 70 protected: |
71 virtual ~TabRestoreServiceDelegate() {} | 71 virtual ~TabRestoreServiceDelegate() {} |
72 }; | 72 }; |
73 | 73 |
74 } // namespace sessions | 74 } // namespace sessions |
75 | 75 |
76 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_DELEGATE_H_ | 76 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_DELEGATE_H_ |
OLD | NEW |