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

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

Issue 596083002: Update cryptotoken to 0.8.63 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a deprecated line 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 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 Class providing common dependencies for the extension's 6 * @fileoverview Class providing common dependencies for the extension's
7 * bottom half. 7 * bottom half.
8 */ 8 */
9 'use strict'; 9 'use strict';
10 10
11 /** 11 /**
12 * @param {!GnubbyFactory} gnubbyFactory A Gnubby factory. 12 * @param {!GnubbyFactory} gnubbyFactory A Gnubby factory.
13 * @param {!CountdownFactory} countdownFactory A countdown timer factory. 13 * @param {!CountdownFactory} countdownFactory A countdown timer factory.
14 * @param {!IndividualAttestation} individualAttestation An individual
15 * attestation implementation.
14 * @constructor 16 * @constructor
15 */ 17 */
16 function DeviceFactoryRegistry(gnubbyFactory, countdownFactory) { 18 function DeviceFactoryRegistry(gnubbyFactory, countdownFactory,
19 individualAttestation) {
17 /** @private {!GnubbyFactory} */ 20 /** @private {!GnubbyFactory} */
18 this.gnubbyFactory_ = gnubbyFactory; 21 this.gnubbyFactory_ = gnubbyFactory;
19 /** @private {!CountdownFactory} */ 22 /** @private {!CountdownFactory} */
20 this.countdownFactory_ = countdownFactory; 23 this.countdownFactory_ = countdownFactory;
24 /** @private {!IndividualAttestation} */
25 this.individualAttestation_ = individualAttestation;
21 } 26 }
22 27
23 /** @return {!GnubbyFactory} A Gnubby factory. */ 28 /** @return {!GnubbyFactory} A Gnubby factory. */
24 DeviceFactoryRegistry.prototype.getGnubbyFactory = function() { 29 DeviceFactoryRegistry.prototype.getGnubbyFactory = function() {
25 return this.gnubbyFactory_; 30 return this.gnubbyFactory_;
26 }; 31 };
27 32
28 /** @return {!CountdownFactory} A countdown factory. */ 33 /** @return {!CountdownFactory} A countdown factory. */
29 DeviceFactoryRegistry.prototype.getCountdownFactory = function() { 34 DeviceFactoryRegistry.prototype.getCountdownFactory = function() {
30 return this.countdownFactory_; 35 return this.countdownFactory_;
31 }; 36 };
37
38 /** @return {!IndividualAttestation} An individual attestation implementation.
39 */
40 DeviceFactoryRegistry.prototype.getIndividualAttestation = function() {
41 return this.individualAttestation_;
42 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698