Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / managed_mode / managed_user_sync_service_observer.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_
7
8 class ManagedUserSyncServiceObserver {
9  public:
10   // Called when the Sync server has acknowledged a newly
11   // created managed user.
12   virtual void OnManagedUserAcknowledged(
13       const std::string& managed_user_id) = 0;
14
15   virtual void OnManagedUsersSyncingStopped() = 0;
16
17   virtual void OnManagedUsersChanged() = 0;
18
19  protected:
20   virtual ~ManagedUserSyncServiceObserver() {}
21 };
22
23 #endif  // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_