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

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 10837231: sync: add InternalComponentsFactory::Switches to simplify passing switches to internal components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pass switches in test_profile_sync_service.cc Created 8 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
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 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 bool use_ssl, 66 bool use_ssl,
67 const scoped_refptr<base::TaskRunner>& blocking_task_runner, 67 const scoped_refptr<base::TaskRunner>& blocking_task_runner,
68 scoped_ptr<HttpPostProviderFactory> post_factory, 68 scoped_ptr<HttpPostProviderFactory> post_factory,
69 const std::vector<ModelSafeWorker*>& workers, 69 const std::vector<ModelSafeWorker*>& workers,
70 ExtensionsActivityMonitor* extensions_activity_monitor, 70 ExtensionsActivityMonitor* extensions_activity_monitor,
71 SyncManager::ChangeDelegate* change_delegate, 71 SyncManager::ChangeDelegate* change_delegate,
72 const SyncCredentials& credentials, 72 const SyncCredentials& credentials,
73 scoped_ptr<SyncNotifier> sync_notifier, 73 scoped_ptr<SyncNotifier> sync_notifier,
74 const std::string& restored_key_for_bootstrapping, 74 const std::string& restored_key_for_bootstrapping,
75 const std::string& restored_keystore_key_for_bootstrapping, 75 const std::string& restored_keystore_key_for_bootstrapping,
76 bool keystore_encryption_enabled,
77 scoped_ptr<InternalComponentsFactory> internal_components_factory, 76 scoped_ptr<InternalComponentsFactory> internal_components_factory,
78 Encryptor* encryptor, 77 Encryptor* encryptor,
79 UnrecoverableErrorHandler* unrecoverable_error_handler, 78 UnrecoverableErrorHandler* unrecoverable_error_handler,
80 ReportUnrecoverableErrorFunction 79 ReportUnrecoverableErrorFunction
81 report_unrecoverable_error_function) OVERRIDE; 80 report_unrecoverable_error_function) OVERRIDE;
82 virtual void ThrowUnrecoverableError() OVERRIDE; 81 virtual void ThrowUnrecoverableError() OVERRIDE;
83 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; 82 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
84 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( 83 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
85 ModelTypeSet types) OVERRIDE; 84 ModelTypeSet types) OVERRIDE;
86 virtual bool PurgePartiallySyncedTypes() OVERRIDE; 85 virtual bool PurgePartiallySyncedTypes() OVERRIDE;
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 // conflict resolver) updated the nigori's encryption keys in this chrome 418 // conflict resolver) updated the nigori's encryption keys in this chrome
420 // instantiation. 419 // instantiation.
421 int nigori_overwrite_count_; 420 int nigori_overwrite_count_;
422 421
423 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 422 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
424 }; 423 };
425 424
426 } // namespace syncer 425 } // namespace syncer
427 426
428 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 427 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698