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

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

Issue 437683002: Wire sync shutdown reason from PSS all the way down to sync manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ROLLBACK_MANAGER_BASE_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_
6 #define SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ 6 #define SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const base::Closure& ready_task, 52 const base::Closure& ready_task,
53 const base::Closure& retry_task) OVERRIDE; 53 const base::Closure& retry_task) OVERRIDE;
54 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; 54 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE;
55 virtual void OnIncomingInvalidation( 55 virtual void OnIncomingInvalidation(
56 syncer::ModelType type, 56 syncer::ModelType type,
57 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; 57 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE;
58 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; 58 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE;
59 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; 59 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE;
60 virtual SyncStatus GetDetailedStatus() const OVERRIDE; 60 virtual SyncStatus GetDetailedStatus() const OVERRIDE;
61 virtual void SaveChanges() OVERRIDE; 61 virtual void SaveChanges() OVERRIDE;
62 virtual void ShutdownOnSyncThread() OVERRIDE; 62 virtual void ShutdownOnSyncThread(ShutdownReason reason) OVERRIDE;
63 virtual UserShare* GetUserShare() OVERRIDE; 63 virtual UserShare* GetUserShare() OVERRIDE;
64 virtual const std::string cache_guid() OVERRIDE; 64 virtual const std::string cache_guid() OVERRIDE;
65 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; 65 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
66 virtual bool HasUnsyncedItems() OVERRIDE; 66 virtual bool HasUnsyncedItems() OVERRIDE;
67 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; 67 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE;
68 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; 68 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE;
69 virtual SyncContextProxy* GetSyncContextProxy() OVERRIDE; 69 virtual SyncContextProxy* GetSyncContextProxy() OVERRIDE;
70 virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents() 70 virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents()
71 OVERRIDE; 71 OVERRIDE;
72 virtual scoped_ptr<base::ListValue> GetAllNodesForType( 72 virtual scoped_ptr<base::ListValue> GetAllNodesForType(
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 scoped_ptr<SyncEncryptionHandler> dummy_handler_; 136 scoped_ptr<SyncEncryptionHandler> dummy_handler_;
137 137
138 bool initialized_; 138 bool initialized_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); 140 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase);
141 }; 141 };
142 142
143 } // namespace syncer 143 } // namespace syncer
144 144
145 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ 145 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/internal_api/sync_rollback_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698