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 COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ |
7 | 7 |
8 namespace sync_driver { | 8 namespace sync_driver { |
9 | 9 |
10 // Various UI components such as the New Tab page can be driven by observing | 10 // Various UI components such as the New Tab page can be driven by observing |
(...skipping 22 matching lines...) Expand all Loading... |
33 // Called when a foreign session has been updated. | 33 // Called when a foreign session has been updated. |
34 virtual void OnForeignSessionUpdated() {} | 34 virtual void OnForeignSessionUpdated() {} |
35 | 35 |
36 protected: | 36 protected: |
37 virtual ~SyncServiceObserver() {} | 37 virtual ~SyncServiceObserver() {} |
38 }; | 38 }; |
39 | 39 |
40 } // namespace sync_driver | 40 } // namespace sync_driver |
41 | 41 |
42 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ | 42 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_OBSERVER_H_ |
OLD | NEW |