| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "components/sessions/session_types.h" | 5 #include "components/sessions/core/session_types.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 9 #include "components/sessions/session_command.h" | 9 #include "components/sessions/core/session_command.h" |
| 10 | 10 |
| 11 namespace sessions { | 11 namespace sessions { |
| 12 | 12 |
| 13 //using class SerializedNavigationEntry; | 13 //using class SerializedNavigationEntry; |
| 14 | 14 |
| 15 // SessionTab ----------------------------------------------------------------- | 15 // SessionTab ----------------------------------------------------------------- |
| 16 | 16 |
| 17 SessionTab::SessionTab() | 17 SessionTab::SessionTab() |
| 18 : tab_visual_index(-1), | 18 : tab_visual_index(-1), |
| 19 current_navigation_index(-1), | 19 current_navigation_index(-1), |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 NOTREACHED() << "Unhandled browser type."; | 91 NOTREACHED() << "Unhandled browser type."; |
| 92 } | 92 } |
| 93 | 93 |
| 94 for (size_t i = 0; i < tabs.size(); i++) | 94 for (size_t i = 0; i < tabs.size(); i++) |
| 95 sync_data.add_tab(tabs[i]->tab_id.id()); | 95 sync_data.add_tab(tabs[i]->tab_id.id()); |
| 96 | 96 |
| 97 return sync_data; | 97 return sync_data; |
| 98 } | 98 } |
| 99 | 99 |
| 100 } // namespace sessions | 100 } // namespace sessions |
| OLD | NEW |