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

Unified Diff: chrome/common/extensions/api/copresence.idl

Issue 671573003: Adding support for authenticated copresence calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing memory error Created 6 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
« no previous file with comments | « chrome/browser/extensions/api/copresence/copresence_api_unittest.cc ('k') | components/copresence.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/copresence.idl
diff --git a/chrome/common/extensions/api/copresence.idl b/chrome/common/extensions/api/copresence.idl
index a6c1b1b1ce41baaab8ceac7e012b68cf60527f7b..a9c60908ec173f4bb0d47a591952ee8f4d033182 100644
--- a/chrome/common/extensions/api/copresence.idl
+++ b/chrome/common/extensions/api/copresence.idl
@@ -122,6 +122,11 @@ namespace copresence {
// apps on any platform that are using this API key can publish/subscribe to
// each other.
[nodoc] static void setApiKey(DOMString apiKey);
+
+ // Temporary call to enable authenticated copresence
+ // with an externally provided OAuth token.
+ // TODO(ckehoe): Replace this with a proper API.
+ [nodoc] static void setAuthToken(DOMString token);
// Executes a set of copresence operations in one batch. They will either
// all be executed, or none will be executed (due to an error in one or
« no previous file with comments | « chrome/browser/extensions/api/copresence/copresence_api_unittest.cc ('k') | components/copresence.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698