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

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

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert SyncShareRecords to typedef Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | sync/engine/commit.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/signin/signin_manager.h" 8 #include "chrome/browser/signin/signin_manager.h"
9 #include "chrome/browser/signin/signin_manager_factory.h" 9 #include "chrome/browser/signin/signin_manager_factory.h"
10 #include "chrome/browser/sync/glue/data_type_controller.h" 10 #include "chrome/browser/sync/glue/data_type_controller.h"
11 #include "chrome/browser/sync/glue/sync_backend_host.h" 11 #include "chrome/browser/sync/glue/sync_backend_host.h"
12 #include "chrome/browser/sync/profile_sync_components_factory.h" 12 #include "chrome/browser/sync/profile_sync_components_factory.h"
13 #include "chrome/browser/sync/test/test_http_bridge_factory.h" 13 #include "chrome/browser/sync/test/test_http_bridge_factory.h"
14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
15 #include "sync/internal_api/public/test/test_user_share.h" 15 #include "sync/internal_api/public/test/test_user_share.h"
16 #include "sync/internal_api/public/user_share.h" 16 #include "sync/internal_api/public/user_share.h"
17 #include "sync/js/js_reply_handler.h" 17 #include "sync/js/js_reply_handler.h"
18 #include "sync/protocol/encryption.pb.h" 18 #include "sync/protocol/encryption.pb.h"
19 #include "sync/syncable/directory.h" 19 #include "sync/syncable/directory.h"
20 20
21 using syncer::InternalComponentsFactory; 21 using syncer::InternalComponentsFactory;
22 using syncer::ModelSafeRoutingInfo; 22 using syncer::ModelSafeRoutingInfo;
23 using syncer::TestInternalComponentsFactory; 23 using syncer::TestInternalComponentsFactory;
24 using syncer::sessions::ModelNeutralState; 24 using syncer::sessions::ModelNeutralState;
25 using syncer::sessions::SyncSessionSnapshot; 25 using syncer::sessions::SyncSessionSnapshot;
26 using syncer::sessions::SyncSourceInfo;
27 using syncer::UserShare; 26 using syncer::UserShare;
28 using syncer::syncable::Directory; 27 using syncer::syncable::Directory;
29 using syncer::DEVICE_INFO; 28 using syncer::DEVICE_INFO;
30 using syncer::EXPERIMENTS; 29 using syncer::EXPERIMENTS;
31 using syncer::NIGORI; 30 using syncer::NIGORI;
32 using syncer::PRIORITY_PREFERENCES; 31 using syncer::PRIORITY_PREFERENCES;
33 32
34 namespace browser_sync { 33 namespace browser_sync {
35 34
36 SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest( 35 SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest(
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 323 }
325 324
326 BrowserContextKeyedService* FakeOAuth2TokenService::BuildTokenService( 325 BrowserContextKeyedService* FakeOAuth2TokenService::BuildTokenService(
327 content::BrowserContext* context) { 326 content::BrowserContext* context) {
328 Profile* profile = static_cast<Profile*>(context); 327 Profile* profile = static_cast<Profile*>(context);
329 328
330 FakeOAuth2TokenService* service = new FakeOAuth2TokenService(); 329 FakeOAuth2TokenService* service = new FakeOAuth2TokenService();
331 service->Initialize(profile); 330 service->Initialize(profile);
332 return service; 331 return service;
333 } 332 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | sync/engine/commit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698