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

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

Issue 10805002: [Sync] Enable adding notifier observers from ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ReportUnrecoverableErrorFunction 79 ReportUnrecoverableErrorFunction
80 report_unrecoverable_error_function) OVERRIDE; 80 report_unrecoverable_error_function) OVERRIDE;
81 virtual void ThrowUnrecoverableError() OVERRIDE; 81 virtual void ThrowUnrecoverableError() OVERRIDE;
82 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE; 82 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
83 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken( 83 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
84 ModelTypeSet types) OVERRIDE; 84 ModelTypeSet types) OVERRIDE;
85 virtual bool PurgePartiallySyncedTypes() OVERRIDE; 85 virtual bool PurgePartiallySyncedTypes() OVERRIDE;
86 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; 86 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE;
87 virtual void UpdateEnabledTypes( 87 virtual void UpdateEnabledTypes(
88 const ModelTypeSet& enabled_types) OVERRIDE; 88 const ModelTypeSet& enabled_types) OVERRIDE;
89 virtual void UpdateRegisteredInvalidationIds(
90 SyncNotifierObserver* handler, const ObjectIdSet& ids) OVERRIDE;
msw 2012/08/03 05:14:21 One parameter per line.
89 virtual void StartSyncingNormally( 91 virtual void StartSyncingNormally(
90 const ModelSafeRoutingInfo& routing_info) OVERRIDE; 92 const ModelSafeRoutingInfo& routing_info) OVERRIDE;
91 virtual void SetEncryptionPassphrase(const std::string& passphrase, 93 virtual void SetEncryptionPassphrase(const std::string& passphrase,
92 bool is_explicit) OVERRIDE; 94 bool is_explicit) OVERRIDE;
93 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; 95 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE;
94 virtual void ConfigureSyncer( 96 virtual void ConfigureSyncer(
95 ConfigureReason reason, 97 ConfigureReason reason,
96 const ModelTypeSet& types_to_config, 98 const ModelTypeSet& types_to_config,
97 const ModelSafeRoutingInfo& new_routing_info, 99 const ModelSafeRoutingInfo& new_routing_info,
98 const base::Closure& ready_task, 100 const base::Closure& ready_task,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // conflict resolver) updated the nigori's encryption keys in this chrome 405 // conflict resolver) updated the nigori's encryption keys in this chrome
404 // instantiation. 406 // instantiation.
405 int nigori_overwrite_count_; 407 int nigori_overwrite_count_;
406 408
407 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 409 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
408 }; 410 };
409 411
410 } // namespace syncer 412 } // namespace syncer
411 413
412 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 414 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698