OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/sync/glue/session_sync_test_helper.h" | 5 #include "chrome/browser/sync/glue/session_sync_test_helper.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
8 #include "components/sync_sessions/synced_session.h" | 10 #include "components/sync_sessions/synced_session.h" |
9 #include "sync/protocol/session_specifics.pb.h" | 11 #include "sync/protocol/session_specifics.pb.h" |
10 #include "sync/protocol/sync_enums.pb.h" | 12 #include "sync/protocol/sync_enums.pb.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
12 | 14 |
13 | 15 |
14 namespace browser_sync { | 16 namespace browser_sync { |
15 | 17 |
16 static const char* kClientName = "name"; | 18 static const char* kClientName = "name"; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 for (size_t i = 0; i < tab_list.size(); ++i) { | 129 for (size_t i = 0; i < tab_list.size(); ++i) { |
128 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]); | 130 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]); |
129 } | 131 } |
130 | 132 |
131 if (tabs) | 133 if (tabs) |
132 tabs->swap(tabs1); | 134 tabs->swap(tabs1); |
133 return meta; | 135 return meta; |
134 } | 136 } |
135 | 137 |
136 } // namespace browser_sync | 138 } // namespace browser_sync |
OLD | NEW |