Home | History | Annotate | Download | only in managed_mode
      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  protected:
     18   virtual ~ManagedUserSyncServiceObserver() {}
     19 };
     20 
     21 #endif  // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SYNC_SERVICE_OBSERVER_H_
     22