Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chromeos / dbus / session_manager_client.h
index b007bee..75d7277 100644 (file)
@@ -89,6 +89,12 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient {
   // Notifies that the lock screen is dismissed.
   virtual void NotifyLockScreenDismissed() = 0;
 
+  // Notifies that supervised user creation have started.
+  virtual void NotifySupervisedUserCreationStarted() = 0;
+
+  // Notifies that supervised user creation have finished.
+  virtual void NotifySupervisedUserCreationFinished() = 0;
+
   // Map that is used to describe the set of active user sessions where |key|
   // is user_id and |value| is user_id_hash.
   typedef std::map<std::string, std::string> ActiveSessionsMap;
@@ -168,16 +174,13 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient {
   virtual void SetFlagsForUser(const std::string& username,
                                const std::vector<std::string>& flags) = 0;
 
-  typedef base::Callback<void(const std::vector<std::string>& state_keys,
-                              bool first_boot)> StateKeysCallback;
+  typedef base::Callback<void(const std::vector<std::string>& state_keys)>
+      StateKeysCallback;
 
   // Get the currently valid server-backed state keys for the device.
   // Server-backed state keys are opaque, device-unique, time-dependent,
   // client-determined identifiers that are used for keying state in the cloud
-  // for the device to retrieve after a device factory reset. The |first_boot|
-  // parameter indicates if this is the very first boot of the device after
-  // being assembled (even a "factory reset" will not trigger this again) in
-  // which case doing the enrollment check makes no sense.
+  // for the device to retrieve after a device factory reset.
   //
   // The state keys are returned asynchronously via |callback|. The callback
   // will be invoked with an empty state key vector in case of errors.