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

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

Issue 10804039: Make SyncBackendRegistrar aware of loaded data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better comments Created 8 years, 5 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // SyncManager implementation. 59 // SyncManager implementation.
60 virtual bool Init( 60 virtual bool Init(
61 const FilePath& database_location, 61 const FilePath& database_location,
62 const WeakHandle<JsEventHandler>& event_handler, 62 const WeakHandle<JsEventHandler>& event_handler,
63 const std::string& sync_server_and_path, 63 const std::string& sync_server_and_path,
64 int sync_server_port, 64 int sync_server_port,
65 bool use_ssl, 65 bool use_ssl,
66 const scoped_refptr<base::TaskRunner>& blocking_task_runner, 66 const scoped_refptr<base::TaskRunner>& blocking_task_runner,
67 scoped_ptr<HttpPostProviderFactory> post_factory, 67 scoped_ptr<HttpPostProviderFactory> post_factory,
68 const ModelSafeRoutingInfo& model_safe_routing_info,
69 const std::vector<ModelSafeWorker*>& workers, 68 const std::vector<ModelSafeWorker*>& workers,
70 ExtensionsActivityMonitor* extensions_activity_monitor, 69 ExtensionsActivityMonitor* extensions_activity_monitor,
71 SyncManager::ChangeDelegate* change_delegate, 70 SyncManager::ChangeDelegate* change_delegate,
72 const SyncCredentials& credentials, 71 const SyncCredentials& credentials,
73 scoped_ptr<SyncNotifier> sync_notifier, 72 scoped_ptr<SyncNotifier> sync_notifier,
74 const std::string& restored_key_for_bootstrapping, 73 const std::string& restored_key_for_bootstrapping,
75 scoped_ptr<InternalComponentsFactory> internal_components_factory, 74 scoped_ptr<InternalComponentsFactory> internal_components_factory,
76 Encryptor* encryptor, 75 Encryptor* encryptor,
77 UnrecoverableErrorHandler* unrecoverable_error_handler, 76 UnrecoverableErrorHandler* unrecoverable_error_handler,
78 ReportUnrecoverableErrorFunction 77 ReportUnrecoverableErrorFunction
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 // conflict resolver) updated the nigori's encryption keys in this chrome 414 // conflict resolver) updated the nigori's encryption keys in this chrome
416 // instantiation. 415 // instantiation.
417 int nigori_overwrite_count_; 416 int nigori_overwrite_count_;
418 417
419 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 418 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
420 }; 419 };
421 420
422 } // namespace syncer 421 } // namespace syncer
423 422
424 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 423 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698