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

Side by Side Diff: remoting/webapp/jscompiler_hacks.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/identity.js ('k') | remoting/webapp/third_party_token_fetcher.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains various hacks needed to inform JSCompiler of various 5 // This file contains various hacks needed to inform JSCompiler of various
6 // WebKit- and Chrome-specific properties and methods. It is used only with 6 // WebKit- and Chrome-specific properties and methods. It is used only with
7 // JSCompiler to verify the type-correctness of our code. 7 // JSCompiler to verify the type-correctness of our code.
8 8
9 /** @type {HTMLElement} */ 9 /** @type {HTMLElement} */
10 Document.prototype.activeElement; 10 Document.prototype.activeElement;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 /** @type {Object} */ 115 /** @type {Object} */
116 chrome.app.window = { 116 chrome.app.window = {
117 /** 117 /**
118 * @param {string} name 118 * @param {string} name
119 * @param {Object} parameters 119 * @param {Object} parameters
120 */ 120 */
121 create: function(name, parameters) {} 121 create: function(name, parameters) {}
122 }; 122 };
123 123
124 /** @type {Object} */ 124 /** @type {Object} */
125 chrome.experimental = {}; 125 chrome.identity = {
126
127 /** @type {Object} */
128 chrome.experimental.identity = {
129 /** 126 /**
130 * @param {Object.<string>} parameters 127 * @param {Object.<string>} parameters
131 * @param {function(string):void} callback 128 * @param {function(string):void} callback
132 */ 129 */
133 getAuthToken: function(parameters, callback) {}, 130 getAuthToken: function(parameters, callback) {},
134 /** 131 /**
135 * @param {Object.<string>} parameters 132 * @param {Object.<string>} parameters
136 * @param {function(string):void} callback 133 * @param {function(string):void} callback
137 */ 134 */
138 launchWebAuthFlow: function(parameters, callback) {} 135 launchWebAuthFlow: function(parameters, callback) {}
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 * @param {Object.<string>} permissions 216 * @param {Object.<string>} permissions
220 * @param {function(boolean):void} callback 217 * @param {function(boolean):void} callback
221 */ 218 */
222 contains: function(permissions, callback) {}, 219 contains: function(permissions, callback) {},
223 /** 220 /**
224 * @param {Object.<string>} permissions 221 * @param {Object.<string>} permissions
225 * @param {function(boolean):void} callback 222 * @param {function(boolean):void} callback
226 */ 223 */
227 request: function(permissions, callback) {} 224 request: function(permissions, callback) {}
228 }; 225 };
OLDNEW
« no previous file with comments | « remoting/webapp/identity.js ('k') | remoting/webapp/third_party_token_fetcher.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698