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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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/core/session_types.h" 5 #include "components/sessions/core/session_types.h"
6 6
7 #include "base/basictypes.h" 7 #include <stddef.h>
8
8 #include "base/stl_util.h" 9 #include "base/stl_util.h"
9 #include "components/sessions/core/session_command.h" 10 #include "components/sessions/core/session_command.h"
10 11
11 namespace sessions { 12 namespace sessions {
12 13
13 //using class SerializedNavigationEntry; 14 //using class SerializedNavigationEntry;
14 15
15 // SessionTab ----------------------------------------------------------------- 16 // SessionTab -----------------------------------------------------------------
16 17
17 SessionTab::SessionTab() 18 SessionTab::SessionTab()
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 NOTREACHED() << "Unhandled browser type."; 92 NOTREACHED() << "Unhandled browser type.";
92 } 93 }
93 94
94 for (size_t i = 0; i < tabs.size(); i++) 95 for (size_t i = 0; i < tabs.size(); i++)
95 sync_data.add_tab(tabs[i]->tab_id.id()); 96 sync_data.add_tab(tabs[i]->tab_id.id());
96 97
97 return sync_data; 98 return sync_data;
98 } 99 }
99 100
100 } // namespace sessions 101 } // 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