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

Unified Diff: remoting/webapp/identity.js

Issue 22339015: s/experimental.identity/identity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/appsv2.patch ('k') | remoting/webapp/jscompiler_hacks.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/identity.js
diff --git a/remoting/webapp/identity.js b/remoting/webapp/identity.js
index cc832f20411b20c8dd1f1303f3fe540ab2bee303..e30e14390024c3732d473db8cfd3142441f51e76 100644
--- a/remoting/webapp/identity.js
+++ b/remoting/webapp/identity.js
@@ -51,7 +51,7 @@ remoting.Identity = function(consentCallback) {
remoting.Identity.prototype.callWithToken = function(onOk, onError) {
this.pendingCallbacks_.push(new remoting.Identity.Callbacks(onOk, onError));
if (this.pendingCallbacks_.length == 1) {
- chrome.experimental.identity.getAuthToken(
+ chrome.identity.getAuthToken(
{ 'interactive': false },
this.onAuthComplete_.bind(this, false));
}
@@ -132,7 +132,7 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) {
* @private
*/
remoting.Identity.prototype.onAuthContinue_ = function() {
- chrome.experimental.identity.getAuthToken(
+ chrome.identity.getAuthToken(
{ 'interactive': true },
this.onAuthComplete_.bind(this, true));
};
« no previous file with comments | « remoting/webapp/appsv2.patch ('k') | remoting/webapp/jscompiler_hacks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698