OLD | NEW |
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 syncable::BaseTransaction* trans, | 170 syncable::BaseTransaction* trans, |
171 std::vector<int64>* entries_changed) OVERRIDE; | 171 std::vector<int64>* entries_changed) OVERRIDE; |
172 virtual void HandleCalculateChangesChangeEventFromSyncer( | 172 virtual void HandleCalculateChangesChangeEventFromSyncer( |
173 const syncable::ImmutableWriteTransactionInfo& write_transaction_info, | 173 const syncable::ImmutableWriteTransactionInfo& write_transaction_info, |
174 syncable::BaseTransaction* trans, | 174 syncable::BaseTransaction* trans, |
175 std::vector<int64>* entries_changed) OVERRIDE; | 175 std::vector<int64>* entries_changed) OVERRIDE; |
176 | 176 |
177 // InvalidationHandler implementation. | 177 // InvalidationHandler implementation. |
178 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; | 178 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; |
179 virtual void OnIncomingInvalidation( | 179 virtual void OnIncomingInvalidation( |
180 const ObjectIdInvalidationMap& invalidation_map, | 180 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; |
181 IncomingInvalidationSource source) OVERRIDE; | |
182 | 181 |
183 // Handle explicit requests to fetch updates for the given types. | 182 // Handle explicit requests to fetch updates for the given types. |
184 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; | 183 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; |
185 | 184 |
186 // These OnYYYChanged() methods are only called by our NetworkChangeNotifier. | 185 // These OnYYYChanged() methods are only called by our NetworkChangeNotifier. |
187 // Called when IP address of primary interface changes. | 186 // Called when IP address of primary interface changes. |
188 virtual void OnIPAddressChanged() OVERRIDE; | 187 virtual void OnIPAddressChanged() OVERRIDE; |
189 // Called when the connection type of the system has changed. | 188 // Called when the connection type of the system has changed. |
190 virtual void OnConnectionTypeChanged( | 189 virtual void OnConnectionTypeChanged( |
191 net::NetworkChangeNotifier::ConnectionType) OVERRIDE; | 190 net::NetworkChangeNotifier::ConnectionType) OVERRIDE; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 // changing passphrases, and in general handles sync-specific interactions | 382 // changing passphrases, and in general handles sync-specific interactions |
384 // with the cryptographer. | 383 // with the cryptographer. |
385 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 384 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
386 | 385 |
387 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 386 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
388 }; | 387 }; |
389 | 388 |
390 } // namespace syncer | 389 } // namespace syncer |
391 | 390 |
392 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 391 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |