OLD | NEW |
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 bool InitTypeRootNode(ModelType type); | 127 bool InitTypeRootNode(ModelType type); |
128 void InitBookmarkFolder(const std::string& folder); | 128 void InitBookmarkFolder(const std::string& folder); |
129 | 129 |
130 UserShare share_; | 130 UserShare share_; |
131 ObserverList<SyncManager::Observer> observers_; | 131 ObserverList<SyncManager::Observer> observers_; |
132 | 132 |
133 scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler_; | 133 scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler_; |
134 ReportUnrecoverableErrorFunction report_unrecoverable_error_function_; | 134 ReportUnrecoverableErrorFunction report_unrecoverable_error_function_; |
135 | 135 |
136 base::WeakPtrFactory<SyncRollbackManagerBase> weak_ptr_factory_; | |
137 | |
138 scoped_ptr<SyncEncryptionHandler> dummy_handler_; | 136 scoped_ptr<SyncEncryptionHandler> dummy_handler_; |
139 | 137 |
140 bool initialized_; | 138 bool initialized_; |
141 | 139 |
| 140 base::WeakPtrFactory<SyncRollbackManagerBase> weak_ptr_factory_; |
| 141 |
142 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); | 142 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); |
143 }; | 143 }; |
144 | 144 |
145 } // namespace syncer | 145 } // namespace syncer |
146 | 146 |
147 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 147 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ |
OLD | NEW |