Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / supervised_user / supervised_user_sync_service_observer.h
blobab4b6ebb0b872391213cde65dee27613199881e5
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_SYNC_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_
8 class SupervisedUserSyncServiceObserver {
9 public:
10 // Called when the Sync server has acknowledged a newly
11 // created supervised user.
12 virtual void OnSupervisedUserAcknowledged(
13 const std::string& supervised_user_id) = 0;
15 virtual void OnSupervisedUsersSyncingStopped() = 0;
17 virtual void OnSupervisedUsersChanged() = 0;
19 protected:
20 virtual ~SupervisedUserSyncServiceObserver() {}
23 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_OBSERVER_H_