| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ |
| 7 | 7 |
| 8 class SupervisedUserServiceObserver { | 8 class SupervisedUserServiceObserver { |
| 9 public: | 9 public: |
| 10 // Called whenever the URL filter is updated, e.g. a manual exception or a | 10 // Called whenever the URL filter is updated, e.g. a manual exception or a |
| 11 // content pack is added, or the default fallback behavior is changed. | 11 // content pack is added, or the default fallback behavior is changed. |
| 12 virtual void OnURLFilterChanged() {} | 12 virtual void OnURLFilterChanged() {} |
| 13 | 13 |
| 14 // Called when information about the supervised user's custodian is changed, |
| 15 // e.g. the display name. |
| 16 virtual void OnCustodianInfoChanged() {} |
| 17 |
| 14 protected: | 18 protected: |
| 15 virtual ~SupervisedUserServiceObserver() {} | 19 virtual ~SupervisedUserServiceObserver() {} |
| 16 }; | 20 }; |
| 17 | 21 |
| 18 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ | 22 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_ |
| OLD | NEW |