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

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

Issue 217183003: Add non-blocking sync code to ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; 103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE;
104 virtual void OnIncomingInvalidation( 104 virtual void OnIncomingInvalidation(
105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
106 virtual std::string GetOwnerName() const OVERRIDE; 106 virtual std::string GetOwnerName() const OVERRIDE;
107 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; 107 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE;
108 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; 108 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE;
109 virtual SyncStatus GetDetailedStatus() const OVERRIDE; 109 virtual SyncStatus GetDetailedStatus() const OVERRIDE;
110 virtual void SaveChanges() OVERRIDE; 110 virtual void SaveChanges() OVERRIDE;
111 virtual void ShutdownOnSyncThread() OVERRIDE; 111 virtual void ShutdownOnSyncThread() OVERRIDE;
112 virtual UserShare* GetUserShare() OVERRIDE; 112 virtual UserShare* GetUserShare() OVERRIDE;
113 virtual syncer::SyncCore* GetSyncCore() OVERRIDE; 113 virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE;
114 virtual const std::string cache_guid() OVERRIDE; 114 virtual const std::string cache_guid() OVERRIDE;
115 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; 115 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
116 virtual bool HasUnsyncedItems() OVERRIDE; 116 virtual bool HasUnsyncedItems() OVERRIDE;
117 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; 117 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE;
118 118
119 // SyncEncryptionHandler::Observer implementation. 119 // SyncEncryptionHandler::Observer implementation.
120 virtual void OnPassphraseRequired( 120 virtual void OnPassphraseRequired(
121 PassphraseRequiredReason reason, 121 PassphraseRequiredReason reason,
122 const sync_pb::EncryptedData& pending_keys) OVERRIDE; 122 const sync_pb::EncryptedData& pending_keys) OVERRIDE;
123 virtual void OnPassphraseAccepted() OVERRIDE; 123 virtual void OnPassphraseAccepted() OVERRIDE;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 370 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
371 371
372 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 372 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
373 373
374 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 374 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
375 }; 375 };
376 376
377 } // namespace syncer 377 } // namespace syncer
378 378
379 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 379 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698