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

Side by Side Diff: chrome/browser/resources/cryptotoken/origincheck.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /** 5 /**
6 * @fileoverview Implements a check whether an origin is allowed to assert an 6 * @fileoverview Implements a check whether an origin is allowed to assert an
7 * app id. 7 * app id.
8 * 8 *
9 */ 9 */
10 'use strict'; 10 'use strict';
11 11
12 /** 12 /**
13 * Implements half of the app id policy: whether an origin is allowed to claim 13 * Implements half of the app id policy: whether an origin is allowed to claim
14 * an app id. For checking whether the app id also lists the origin, 14 * an app id. For checking whether the app id also lists the origin,
15 * @see AppIdChecker. 15 * @see AppIdChecker.
16 * @interface 16 * @interface
17 */ 17 */
18 function OriginChecker() {} 18 function OriginChecker() {}
19 19
20 /** 20 /**
21 * Checks whether the origin is allowed to claim the app ids. 21 * Checks whether the origin is allowed to claim the app ids.
22 * @param {string} origin The origin claiming the app id. 22 * @param {string} origin The origin claiming the app id.
23 * @param {!Array.<string>} appIds The app ids being claimed. 23 * @param {!Array<string>} appIds The app ids being claimed.
24 * @return {Promise.<boolean>} A promise for the result of the check. 24 * @return {Promise<boolean>} A promise for the result of the check.
25 */ 25 */
26 OriginChecker.prototype.canClaimAppIds = function(origin, appIds) {}; 26 OriginChecker.prototype.canClaimAppIds = function(origin, appIds) {};
OLDNEW
« no previous file with comments | « chrome/browser/resources/cryptotoken/multiplesigner.js ('k') | chrome/browser/resources/cryptotoken/requestqueue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698