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

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

Issue 1443453002: [Sync] Move sessions files from sync_driver to sync_sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ui/gfx deps. Created 5 years, 1 month 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 "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "components/sync_driver/glue/synced_session.h" 8 #include "components/sync_sessions/synced_session.h"
9 #include "sync/protocol/session_specifics.pb.h" 9 #include "sync/protocol/session_specifics.pb.h"
10 #include "sync/protocol/sync_enums.pb.h" 10 #include "sync/protocol/sync_enums.pb.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 13
14 namespace browser_sync { 14 namespace browser_sync {
15 15
16 static const char* kClientName = "name"; 16 static const char* kClientName = "name";
17 static const char* kAppId = "app_id"; 17 static const char* kAppId = "app_id";
18 static const char* kVirtualUrl = "http://foo/1"; 18 static const char* kVirtualUrl = "http://foo/1";
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 for (size_t i = 0; i < tab_list.size(); ++i) { 127 for (size_t i = 0; i < tab_list.size(); ++i) {
128 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]); 128 BuildTabSpecifics(tag, 0, tab_list[i], &tabs1[i]);
129 } 129 }
130 130
131 if (tabs) 131 if (tabs)
132 tabs->swap(tabs1); 132 tabs->swap(tabs1);
133 return meta; 133 return meta;
134 } 134 }
135 135
136 } // namespace browser_sync 136 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/sessions/sessions_api.cc ('k') | chrome/browser/sync/glue/synced_tab_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698