summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorckehoe <ckehoe@chromium.org>2014-10-29 18:10:18 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-30 01:10:46 +0000
commit153e9af7a65fddeb5807427f681df8916fbfdffb (patch)
treee94147bceb2014367318c31a1f39e9f663b81c2c /extensions
parentb2b2eefceebbd6d5baa02a3c2d2e02a7c3e23ae1 (diff)
downloadchromium_src-153e9af7a65fddeb5807427f681df8916fbfdffb.zip
chromium_src-153e9af7a65fddeb5807427f681df8916fbfdffb.tar.gz
chromium_src-153e9af7a65fddeb5807427f681df8916fbfdffb.tar.bz2
Adding support for authenticated copresence calls. I've added a temporary call to the API to pass in an OAuth token to use with requests. Eventually we need to scope the token better - at least by app.
For privacy, we now register one device ID per account (auth token), including the null (anonymous) account. Other changes: - API keys are now scoped by app - copresence_manager.cc deleted - Minor performance/stability fixes - Cleanup in rpc_handler_unittest.cc BUG=423517 Review URL: https://codereview.chromium.org/671573003 Cr-Commit-Position: refs/heads/master@{#302002}
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 0388296..8d0b10c 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -968,6 +968,7 @@ enum HistogramValue {
USB_GETUSERSELECTEDDEVICES,
INPUTMETHODPRIVATE_GETINPUTMETHODCONFIG,
WALLPAPERPRIVATE_GETSYNCSETTING,
+ COPRESENCE_SETAUTHTOKEN,
// Last entry: Add new entries above and ensure to update
// tools/metrics/histograms/histograms.xml.
ENUM_BOUNDARY