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

Unified Diff: trunk/src/chrome/browser/chromeos/policy/device_local_account.h

Issue 32513006: Revert 229896 "Cache force-installed apps/extensions in device-l..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/chromeos/policy/device_local_account.h
===================================================================
--- trunk/src/chrome/browser/chromeos/policy/device_local_account.h (revision 229896)
+++ trunk/src/chrome/browser/chromeos/policy/device_local_account.h (working copy)
@@ -32,22 +32,6 @@
~DeviceLocalAccount();
Type type;
- // A device-local account has two identifiers:
- // * The |account_id| is chosen by the entity that defines the device-local
- // account. The only constraints are that the |account_id| be unique and,
- // for legacy reasons, it contain an @ symbol.
- // * The |user_id| is a synthesized identifier that is guaranteed to be
- // unique, contain an @ symbol, not collide with the |user_id| of any other
- // user on the device (such as regular users or supervised users) and be
- // identifiable as belonging to a device-local account by.
- // The |account_id| is primarily used by policy code: If device policy defines
- // a device-local account with a certain |account_id|, the user policy for
- // that account has to be fetched by referencing the same |account_id|.
- // The |user_id| is passed to the chromeos::UserManager where it becomes part
- // of the global user list on the device. The |account_id| would not be safe
- // to use here as it is a free-form identifier that could conflict with
- // another |user_id| on the device and cannot be easily identified as
- // belonging to a device-local account.
std::string account_id;
std::string user_id;
std::string kiosk_app_id;

Powered by Google App Engine
This is Rietveld 408576698