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

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

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 years, 6 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/abstract_profile_sync_service_test.h" 8 #include "chrome/browser/sync/abstract_profile_sync_service_test.h"
9 #include "chrome/browser/sync/glue/data_type_controller.h" 9 #include "chrome/browser/sync/glue/data_type_controller.h"
10 #include "chrome/browser/sync/glue/sync_backend_host.h" 10 #include "chrome/browser/sync/glue/sync_backend_host.h"
11 #include "chrome/browser/sync/profile_sync_components_factory.h" 11 #include "chrome/browser/sync/profile_sync_components_factory.h"
12 #include "chrome/browser/sync/test/test_http_bridge_factory.h" 12 #include "chrome/browser/sync/test/test_http_bridge_factory.h"
13 #include "chrome/common/chrome_notification_types.h" 13 #include "chrome/common/chrome_notification_types.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/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/syncable.h" 18 #include "sync/syncable/syncable.h"
19 19
20 using browser_sync::ModelSafeRoutingInfo; 20 using browser_sync::ModelSafeRoutingInfo;
21 using browser_sync::sessions::ErrorCounters; 21 using browser_sync::sessions::ErrorCounters;
22 using browser_sync::sessions::SyncSourceInfo; 22 using browser_sync::sessions::SyncSourceInfo;
23 using browser_sync::sessions::SyncerStatus; 23 using browser_sync::sessions::SyncerStatus;
24 using browser_sync::sessions::SyncSessionSnapshot; 24 using browser_sync::sessions::SyncSessionSnapshot;
25 using syncable::Directory; 25 using syncable::Directory;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 void TestProfileSyncService::CreateBackend() { 225 void TestProfileSyncService::CreateBackend() {
226 backend_.reset(new browser_sync::SyncBackendHostForProfileSyncTest( 226 backend_.reset(new browser_sync::SyncBackendHostForProfileSyncTest(
227 profile(), 227 profile(),
228 sync_prefs_.AsWeakPtr(), 228 sync_prefs_.AsWeakPtr(),
229 invalidator_storage_.AsWeakPtr(), 229 invalidator_storage_.AsWeakPtr(),
230 set_initial_sync_ended_on_init_, 230 set_initial_sync_ended_on_init_,
231 synchronous_backend_initialization_, 231 synchronous_backend_initialization_,
232 fail_initial_download_, 232 fail_initial_download_,
233 use_real_database_)); 233 use_real_database_));
234 } 234 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698