| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_ |
| 7 | 7 |
| 8 class ManagedUserSyncServiceObserver { | 8 class SupervisedUserSyncServiceObserver { |
| 9 public: | 9 public: |
| 10 // Called when the Sync server has acknowledged a newly | 10 // Called when the Sync server has acknowledged a newly |
| 11 // created managed user. | 11 // created supervised user. |
| 12 virtual void OnManagedUserAcknowledged( | 12 virtual void OnSupervisedUserAcknowledged( |
| 13 const std::string& managed_user_id) = 0; | 13 const std::string& supervised_user_id) = 0; |
| 14 | 14 |
| 15 virtual void OnManagedUsersSyncingStopped() = 0; | 15 virtual void OnSupervisedUsersSyncingStopped() = 0; |
| 16 | 16 |
| 17 virtual void OnManagedUsersChanged() = 0; | 17 virtual void OnSupervisedUsersChanged() = 0; |
| 18 | 18 |
| 19 protected: | 19 protected: |
| 20 virtual ~ManagedUserSyncServiceObserver() {} | 20 virtual ~SupervisedUserSyncServiceObserver() {} |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_ | 23 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_
H_ |
| OLD | NEW |