ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / supervised_user / supervised_user_service_observer.h
blob7d9d61c210960221c824780af1c986295d077f06
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_
8 class SupervisedUserServiceObserver {
9 public:
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.
12 virtual void OnURLFilterChanged() {}
14 // Called when information about the supervised user's custodian is changed,
15 // e.g. the display name.
16 virtual void OnCustodianInfoChanged() {}
18 protected:
19 virtual ~SupervisedUserServiceObserver() {}
22 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_