Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / supervised_user / supervised_user_service_observer.h
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.
4
5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_
7
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() {}
13
14   // Called when information about the supervised user's custodian is changed,
15   // e.g. the display name.
16   virtual void OnCustodianInfoChanged() {}
17
18  protected:
19   virtual ~SupervisedUserServiceObserver() {}
20 };
21
22 #endif  // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_OBSERVER_H_