summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorxiyuan <xiyuan@chromium.org>2015-02-11 08:39:30 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-11 16:39:55 +0000
commit17a42562875a8590ae66e30b220b43b8bcf7457b (patch)
tree9fdbfe9cb2781533af4771dedd85b709c7716de6 /extensions
parente4708faea665eb47b97ccf9369aaa16d37845ec0 (diff)
downloadchromium_src-17a42562875a8590ae66e30b220b43b8bcf7457b.zip
chromium_src-17a42562875a8590ae66e30b220b43b8bcf7457b.tar.gz
chromium_src-17a42562875a8590ae66e30b220b43b8bcf7457b.tar.bz2
Add auto pairing to EasyUnlockPrivate interface.
Smart lock is needed at the end of Easy bootstrap to create proper cryptohome keys for the user. - Add EasyUnlockService::StartAutoPairing for Easy bootstrap code to start the auto pairing process and receive the result via a callback; - Add onStartAutoPairing event to EasyUnlockPrivate. EasyUnlockService dispatches the event to trigger auto pairing in the app; - Add setAutoPairingResult to EasyUnlockPrivate for the app to report the pairing result; The impl of the function invokes its counter part in EasyUnlockService to deliver the result to the callback provided in EasyUnlockService::StartAutoPairing call; BUG=433133 TEST=EasyUnlockPrivateApiTest.AutoPairing Review URL: https://codereview.chromium.org/910363002 Cr-Commit-Position: refs/heads/master@{#315776}
Diffstat (limited to 'extensions')
-rw-r--r--extensions/browser/extension_function_histogram_value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index 70ac406..90c53ba 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -1017,6 +1017,7 @@ enum HistogramValue {
NETWORKING_CONFIG_FINISHAUTHENTICATION,
PLATFORMKEYSINTERNAL_SELECTCLIENTCERTIFICATES,
CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID,
+ EASYUNLOCKPRIVATE_SETAUTOPAIRINGRESULT,
// Last entry: Add new entries above and ensure to update
// tools/metrics/histograms/histograms.xml.
ENUM_BOUNDARY