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

Side by Side Diff: chrome/browser/sync/glue/session_sync_test_helper.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 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> 7 #include <stddef.h>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "components/sync/protocol/session_specifics.pb.h"
11 #include "components/sync/protocol/sync_enums.pb.h"
10 #include "components/sync_sessions/synced_session.h" 12 #include "components/sync_sessions/synced_session.h"
11 #include "sync/protocol/session_specifics.pb.h"
12 #include "sync/protocol/sync_enums.pb.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 17
18 static const char* kClientName = "name"; 18 static const char* kClientName = "name";
19 static const char* kAppId = "app_id"; 19 static const char* kAppId = "app_id";
20 static const char* kVirtualUrl = "http://foo/1"; 20 static const char* kVirtualUrl = "http://foo/1";
21 static const char* kReferrer = "referrer"; 21 static const char* kReferrer = "referrer";
22 static const char* kTitle = "title"; 22 static const char* kTitle = "title";
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 for (size_t i = 0; i < tab_list.size(); ++i) { 138 for (size_t i = 0; i < tab_list.size(); ++i) {
139 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]); 139 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]);
140 } 140 }
141 141
142 if (tabs) 142 if (tabs)
143 tabs->swap(tabs1); 143 tabs->swap(tabs1);
144 return meta; 144 return meta;
145 } 145 }
146 146
147 } // namespace browser_sync 147 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc ('k') | chrome/browser/sync/glue/sync_start_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698