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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 10985008: sync: Add DeviceInfo protobuf and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another missing include Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/sync/test_profile_sync_service.h" 5 #include "chrome/browser/sync/test_profile_sync_service.h"
6 6
7 #include "chrome/browser/signin/signin_manager.h" 7 #include "chrome/browser/signin/signin_manager.h"
8 #include "chrome/browser/sync/glue/data_type_controller.h" 8 #include "chrome/browser/sync/glue/data_type_controller.h"
9 #include "chrome/browser/sync/glue/sync_backend_host.h" 9 #include "chrome/browser/sync/glue/sync_backend_host.h"
10 #include "chrome/browser/sync/profile_sync_components_factory.h" 10 #include "chrome/browser/sync/profile_sync_components_factory.h"
11 #include "chrome/browser/sync/test/test_http_bridge_factory.h" 11 #include "chrome/browser/sync/test/test_http_bridge_factory.h"
12 #include "chrome/common/chrome_notification_types.h" 12 #include "chrome/common/chrome_notification_types.h"
13 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 13 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
14 #include "sync/internal_api/public/test/test_user_share.h" 14 #include "sync/internal_api/public/test/test_user_share.h"
15 #include "sync/internal_api/public/user_share.h" 15 #include "sync/internal_api/public/user_share.h"
16 #include "sync/js/js_reply_handler.h" 16 #include "sync/js/js_reply_handler.h"
17 #include "sync/protocol/encryption.pb.h" 17 #include "sync/protocol/encryption.pb.h"
18 #include "sync/syncable/directory.h" 18 #include "sync/syncable/directory.h"
19 19
20 using syncer::InternalComponentsFactory; 20 using syncer::InternalComponentsFactory;
21 using syncer::ModelSafeRoutingInfo; 21 using syncer::ModelSafeRoutingInfo;
22 using syncer::TestInternalComponentsFactory; 22 using syncer::TestInternalComponentsFactory;
23 using syncer::sessions::ModelNeutralState; 23 using syncer::sessions::ModelNeutralState;
24 using syncer::sessions::SyncSessionSnapshot; 24 using syncer::sessions::SyncSessionSnapshot;
25 using syncer::sessions::SyncSourceInfo; 25 using syncer::sessions::SyncSourceInfo;
26 using syncer::UserShare; 26 using syncer::UserShare;
27 using syncer::syncable::Directory; 27 using syncer::syncable::Directory;
28 using syncer::NIGORI; 28 using syncer::NIGORI;
29 using syncer::DEVICE_INFO;
29 30
30 namespace browser_sync { 31 namespace browser_sync {
31 32
32 SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest( 33 SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest(
33 Profile* profile, 34 Profile* profile,
34 const base::WeakPtr<SyncPrefs>& sync_prefs, 35 const base::WeakPtr<SyncPrefs>& sync_prefs,
35 const base::WeakPtr<InvalidatorStorage>& invalidator_storage, 36 const base::WeakPtr<InvalidatorStorage>& invalidator_storage,
36 syncer::TestIdFactory& id_factory, 37 syncer::TestIdFactory& id_factory,
37 base::Closure& callback, 38 base::Closure& callback,
38 bool set_initial_sync_ended_on_init, 39 bool set_initial_sync_ended_on_init,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 profile(), 235 profile(),
235 sync_prefs_.AsWeakPtr(), 236 sync_prefs_.AsWeakPtr(),
236 invalidator_storage_.AsWeakPtr(), 237 invalidator_storage_.AsWeakPtr(),
237 id_factory_, 238 id_factory_,
238 callback_, 239 callback_,
239 set_initial_sync_ended_on_init_, 240 set_initial_sync_ended_on_init_,
240 synchronous_backend_initialization_, 241 synchronous_backend_initialization_,
241 fail_initial_download_, 242 fail_initial_download_,
242 storage_option_)); 243 storage_option_));
243 } 244 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_prefs_unittest.cc ('k') | chrome/browser/sync/user_selectable_sync_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698