| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CONTENT_CONTENT_LIVE_TAB_H_ | 5 #ifndef COMPONENTS_SESSIONS_CONTENT_CONTENT_LIVE_TAB_H_ |
| 6 #define COMPONENTS_SESSIONS_CONTENT_CONTENT_LIVE_TAB_H_ | 6 #define COMPONENTS_SESSIONS_CONTENT_CONTENT_LIVE_TAB_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
| 10 #include "components/sessions/content/content_serialized_navigation_builder.h" | 10 #include "components/sessions/content/content_serialized_navigation_builder.h" |
| 11 #include "components/sessions/core/live_tab.h" | 11 #include "components/sessions/core/live_tab.h" |
| 12 #include "components/sessions/core/sessions_export.h" | 12 #include "components/sessions/core/sessions_export.h" |
| 13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class NavigationController; | 16 class NavigationController; |
| 17 class NavigationEntry; | |
| 18 class SessionStorageNamespace; | |
| 19 } | 17 } |
| 20 | 18 |
| 21 class PersistentTabRestoreServiceTest; | 19 class PersistentTabRestoreServiceTest; |
| 22 | 20 |
| 23 namespace sessions { | 21 namespace sessions { |
| 24 | 22 |
| 25 // An implementation of LiveTab that is backed by content::WebContents for use | 23 // An implementation of LiveTab that is backed by content::WebContents for use |
| 26 // on //content-based platforms. | 24 // on //content-based platforms. |
| 27 class SESSIONS_EXPORT ContentLiveTab | 25 class SESSIONS_EXPORT ContentLiveTab |
| 28 : public LiveTab, | 26 : public LiveTab, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 58 } |
| 61 | 59 |
| 62 content::WebContents* web_contents_; | 60 content::WebContents* web_contents_; |
| 63 | 61 |
| 64 DISALLOW_COPY_AND_ASSIGN(ContentLiveTab); | 62 DISALLOW_COPY_AND_ASSIGN(ContentLiveTab); |
| 65 }; | 63 }; |
| 66 | 64 |
| 67 } // namespace sessions | 65 } // namespace sessions |
| 68 | 66 |
| 69 #endif // COMPONENTS_SESSIONS_CONTENT_CONTENT_LIVE_TAB_H_ | 67 #endif // COMPONENTS_SESSIONS_CONTENT_CONTENT_LIVE_TAB_H_ |
| OLD | NEW |