summaryrefslogtreecommitdiffstats
path: root/chrome/browser/supervised_user/supervised_user_sync_service_observer.h
blob: ab4b6ebb0b872391213cde65dee27613199881e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_

class SupervisedUserSyncServiceObserver {
 public:
  // Called when the Sync server has acknowledged a newly
  // created supervised user.
  virtual void OnSupervisedUserAcknowledged(
      const std::string& supervised_user_id) = 0;

  virtual void OnSupervisedUsersSyncingStopped() = 0;

  virtual void OnSupervisedUsersChanged() = 0;

 protected:
  virtual ~SupervisedUserSyncServiceObserver() {}
};

#endif  // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_