Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: components/sessions/core/session_types.cc

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sessions/core/session_types.h ('k') | components/sessions/core/session_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698