Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: chromeos/dbus/session_manager_client.h

Issue 1966133002: Run RemoveArcData after a user has opted out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressed comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/dbus/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // Asynchronously stops the ARC instance. Upon completion, invokes 224 // Asynchronously stops the ARC instance. Upon completion, invokes
225 // |callback| with the result; true on success, false on failure (either 225 // |callback| with the result; true on success, false on failure (either
226 // session manager failed to stop an instance or session manager can not be 226 // session manager failed to stop an instance or session manager can not be
227 // reached). 227 // reached).
228 virtual void StopArcInstance(const ArcCallback& callback) = 0; 228 virtual void StopArcInstance(const ArcCallback& callback) = 0;
229 229
230 // Asynchronously retrieves the timestamp which ARC instance is invoked or 230 // Asynchronously retrieves the timestamp which ARC instance is invoked or
231 // returns false if there is no ARC instance or ARC is not available. 231 // returns false if there is no ARC instance or ARC is not available.
232 virtual void GetArcStartTime(const GetArcStartTimeCallback& callback) = 0; 232 virtual void GetArcStartTime(const GetArcStartTimeCallback& callback) = 0;
233 233
234 // Asynchronously removes all ARC user data for the user whose cryptohome is
235 // located by |cryptohome_id|.
236 virtual void RemoveArcData(
237 const cryptohome::Identification& cryptohome_id) = 0;
238
234 // Creates the instance. 239 // Creates the instance.
235 static SessionManagerClient* Create(DBusClientImplementationType type); 240 static SessionManagerClient* Create(DBusClientImplementationType type);
236 241
237 ~SessionManagerClient() override; 242 ~SessionManagerClient() override;
238 243
239 protected: 244 protected:
240 // Create() should be used instead. 245 // Create() should be used instead.
241 SessionManagerClient(); 246 SessionManagerClient();
242 247
243 private: 248 private:
244 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); 249 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient);
245 }; 250 };
246 251
247 } // namespace chromeos 252 } // namespace chromeos
248 253
249 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 254 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698