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

Side by Side Diff: chrome/common/extensions/api/easy_unlock_private.idl

Issue 877033005: Use a stable device-user identifier for CryptAuth enrollments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: accidently removed files Created 5 years, 9 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 | « chrome/browser/signin/easy_unlock_service.cc ('k') | chrome/common/pref_names.h » ('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 2014 The Chromium Authors. All rights reserved. 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 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 // <code>chrome.easyUnlockPrivate</code> API that provides hooks to Chrome to 5 // <code>chrome.easyUnlockPrivate</code> API that provides hooks to Chrome to
6 // be used by Easy Unlock component app. 6 // be used by Easy Unlock component app.
7 namespace easyUnlockPrivate { 7 namespace easyUnlockPrivate {
8 // Signature algorithms supported by the crypto library methods used by 8 // Signature algorithms supported by the crypto library methods used by
9 // Easy Unlock. 9 // Easy Unlock.
10 enum SignatureType { 10 enum SignatureType {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Websafe base64 encoded persistent symmetric key. 138 // Websafe base64 encoded persistent symmetric key.
139 DOMString? psk; 139 DOMString? psk;
140 }; 140 };
141 141
142 // The information about a user associated with Easy unlock service. 142 // The information about a user associated with Easy unlock service.
143 dictionary UserInfo { 143 dictionary UserInfo {
144 // The user id. 144 // The user id.
145 DOMString userId; 145 DOMString userId;
146 146
147 // A stable identifier for the user and device. If a user is removed and
148 // added to the same device, this id will remain the same. However, this id
149 // will be different if another user is added to the same device or if the
150 // same user is added on another device.
151 DOMString deviceUserId;
152
147 // Whether the user is logged in. If not logged in, the app is running on 153 // Whether the user is logged in. If not logged in, the app is running on
148 // the signin screen. 154 // the signin screen.
149 boolean loggedIn; 155 boolean loggedIn;
150 156
151 // Whether to require the remote device to be in very close proximity before 157 // Whether to require the remote device to be in very close proximity before
152 // allowing unlock (~1 feet). 158 // allowing unlock (~1 feet).
153 boolean requireCloseProximity; 159 boolean requireCloseProximity;
154 160
155 // Whether all data needed to use Easy unlock service has been loaded for 161 // Whether all data needed to use Easy unlock service has been loaded for
156 // the user. 162 // the user.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 // Event fired when the data for the user currently associated with 387 // Event fired when the data for the user currently associated with
382 // Easy unlock service is updated. 388 // Easy unlock service is updated.
383 // |userInfo| The updated user information. 389 // |userInfo| The updated user information.
384 static void onUserInfoUpdated(UserInfo userInfo); 390 static void onUserInfoUpdated(UserInfo userInfo);
385 391
386 // Event fired at the end of Easy bootstrap to start auto pairing so 392 // Event fired at the end of Easy bootstrap to start auto pairing so
387 // that a proper cryptohome key could be generated for the user. 393 // that a proper cryptohome key could be generated for the user.
388 static void onStartAutoPairing(); 394 static void onStartAutoPairing();
389 }; 395 };
390 }; 396 };
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698