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

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

Issue 485243002: Fix few minor easy unlock bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | no next file » | 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 [nodoc] namespace easyUnlockPrivate { 7 [nodoc] 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 22 matching lines...) Expand all
33 PHONE_NOT_AUTHENTICATED, 33 PHONE_NOT_AUTHENTICATED,
34 // A phone eligible to unlock the device is detected, but it's locked and 34 // A phone eligible to unlock the device is detected, but it's locked and
35 // thus unable to unlock the device. 35 // thus unable to unlock the device.
36 PHONE_LOCKED, 36 PHONE_LOCKED,
37 // A phone eligible to unlock the device is detected, but it is not allowed 37 // A phone eligible to unlock the device is detected, but it is not allowed
38 // to unlock the device because it doesn't have lock screen enabled. 38 // to unlock the device because it doesn't have lock screen enabled.
39 PHONE_UNLOCKABLE, 39 PHONE_UNLOCKABLE,
40 // A phone eligible to unlock the device is detected, but it's not close 40 // A phone eligible to unlock the device is detected, but it's not close
41 // enough to be allowed to unlock the device. 41 // enough to be allowed to unlock the device.
42 PHONE_NOT_NEARBY, 42 PHONE_NOT_NEARBY,
43 // Easy Unlock enabled phone is detected, but it is not allowed to unlock
Yoyo Zhou 2014/08/19 21:03:24 Can the first part of this be rewritten to be cons
tbarzic 2014/08/19 21:06:37 Done.
44 // the device because it does not report its lock screen state.
45 PHONE_UNSUPPORTED,
43 // The devie can be unlocked using Easy Unlock. 46 // The devie can be unlocked using Easy Unlock.
44 AUTHENTICATED 47 AUTHENTICATED
45 }; 48 };
46 49
47 // Type of a permit. All lower case to match permit.PermitRecord.Type. 50 // Type of a permit. All lower case to match permit.PermitRecord.Type.
48 enum PermitType {access, license}; 51 enum PermitType {access, license};
49 52
50 // Options that can be passed to |unwrapSecureMessage| method. 53 // Options that can be passed to |unwrapSecureMessage| method.
51 dictionary UnwrapSecureMessageOptions { 54 dictionary UnwrapSecureMessageOptions {
52 // The data associated with the message. For the message to be succesfully 55 // The data associated with the message. For the message to be succesfully
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Saves the remote device list. 236 // Saves the remote device list.
234 // |devices|: The list of remote devices to be saved. 237 // |devices|: The list of remote devices to be saved.
235 // |callback|: Called to indicate success or failure. 238 // |callback|: Called to indicate success or failure.
236 static void setRemoteDevices(Device[] devices, 239 static void setRemoteDevices(Device[] devices,
237 optional EmptyCallback callback); 240 optional EmptyCallback callback);
238 241
239 // Gets the remote device list. 242 // Gets the remote device list.
240 static void getRemoteDevices(GetRemoteDevicesCallback callback); 243 static void getRemoteDevices(GetRemoteDevicesCallback callback);
241 }; 244 };
242 }; 245 };
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698