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 CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 virtual bool waiting_for_auth() const; | 563 virtual bool waiting_for_auth() const; |
564 | 564 |
565 // InvalidationFrontend implementation. | 565 // InvalidationFrontend implementation. |
566 virtual void RegisterInvalidationHandler( | 566 virtual void RegisterInvalidationHandler( |
567 syncer::InvalidationHandler* handler) OVERRIDE; | 567 syncer::InvalidationHandler* handler) OVERRIDE; |
568 virtual void UpdateRegisteredInvalidationIds( | 568 virtual void UpdateRegisteredInvalidationIds( |
569 syncer::InvalidationHandler* handler, | 569 syncer::InvalidationHandler* handler, |
570 const syncer::ObjectIdSet& ids) OVERRIDE; | 570 const syncer::ObjectIdSet& ids) OVERRIDE; |
571 virtual void UnregisterInvalidationHandler( | 571 virtual void UnregisterInvalidationHandler( |
572 syncer::InvalidationHandler* handler) OVERRIDE; | 572 syncer::InvalidationHandler* handler) OVERRIDE; |
| 573 virtual void AcknowledgeInvalidation( |
| 574 const invalidation::ObjectId& id, |
| 575 const syncer::AckHandle& ack_handle) OVERRIDE; |
| 576 |
573 virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; | 577 virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; |
574 | 578 |
575 // ProfileKeyedService implementation. | 579 // ProfileKeyedService implementation. |
576 virtual void Shutdown() OVERRIDE; | 580 virtual void Shutdown() OVERRIDE; |
577 | 581 |
578 protected: | 582 protected: |
579 // Used by test classes that derive from ProfileSyncService. | 583 // Used by test classes that derive from ProfileSyncService. |
580 virtual browser_sync::SyncBackendHost* GetBackendForTest(); | 584 virtual browser_sync::SyncBackendHost* GetBackendForTest(); |
581 | 585 |
582 // Helper to install and configure a data type manager. | 586 // Helper to install and configure a data type manager. |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 syncer::InvalidatorRegistrar invalidator_registrar_; | 854 syncer::InvalidatorRegistrar invalidator_registrar_; |
851 | 855 |
852 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 856 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
853 }; | 857 }; |
854 | 858 |
855 bool ShouldShowActionOnUI( | 859 bool ShouldShowActionOnUI( |
856 const syncer::SyncProtocolError& error); | 860 const syncer::SyncProtocolError& error); |
857 | 861 |
858 | 862 |
859 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 863 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |