| OLD | NEW |
| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Cryptographer::Observer implementation. | 160 // Cryptographer::Observer implementation. |
| 161 virtual void OnEncryptedTypesChanged( | 161 virtual void OnEncryptedTypesChanged( |
| 162 ModelTypeSet encrypted_types, | 162 ModelTypeSet encrypted_types, |
| 163 bool encrypt_everything) OVERRIDE; | 163 bool encrypt_everything) OVERRIDE; |
| 164 | 164 |
| 165 // SyncNotifierObserver implementation. | 165 // SyncNotifierObserver implementation. |
| 166 virtual void OnNotificationsEnabled() OVERRIDE; | 166 virtual void OnNotificationsEnabled() OVERRIDE; |
| 167 virtual void OnNotificationsDisabled( | 167 virtual void OnNotificationsDisabled( |
| 168 NotificationsDisabledReason reason) OVERRIDE; | 168 NotificationsDisabledReason reason) OVERRIDE; |
| 169 virtual void OnIncomingNotification( | 169 virtual void OnIncomingNotification( |
| 170 const ModelTypePayloadMap& type_payloads, | 170 const ObjectIdPayloadMap& id_payloads, |
| 171 IncomingNotificationSource source) OVERRIDE; | 171 IncomingNotificationSource source) OVERRIDE; |
| 172 | 172 |
| 173 // Called only by our NetworkChangeNotifier. | 173 // Called only by our NetworkChangeNotifier. |
| 174 virtual void OnIPAddressChanged() OVERRIDE; | 174 virtual void OnIPAddressChanged() OVERRIDE; |
| 175 | 175 |
| 176 const SyncScheduler* scheduler() const; | 176 const SyncScheduler* scheduler() const; |
| 177 | 177 |
| 178 private: | 178 private: |
| 179 friend class SyncManagerTest; | 179 friend class SyncManagerTest; |
| 180 FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, NudgeDelayTest); | 180 FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, NudgeDelayTest); |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 // conflict resolver) updated the nigori's encryption keys in this chrome | 401 // conflict resolver) updated the nigori's encryption keys in this chrome |
| 402 // instantiation. | 402 // instantiation. |
| 403 int nigori_overwrite_count_; | 403 int nigori_overwrite_count_; |
| 404 | 404 |
| 405 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 405 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 } // namespace syncer | 408 } // namespace syncer |
| 409 | 409 |
| 410 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 410 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |