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

Unified 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, 3 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
Index: chrome/browser/resources/cryptotoken/devicefactoryregistry.js
diff --git a/chrome/browser/resources/cryptotoken/devicefactoryregistry.js b/chrome/browser/resources/cryptotoken/devicefactoryregistry.js
index 442fb457fd2200f2e6e45a6fc2f309e825a75435..c1f4bee5282a75be4215d18e5f17fc4428bfaf50 100644
--- a/chrome/browser/resources/cryptotoken/devicefactoryregistry.js
+++ b/chrome/browser/resources/cryptotoken/devicefactoryregistry.js
@@ -11,13 +11,18 @@
/**
* @param {!GnubbyFactory} gnubbyFactory A Gnubby factory.
* @param {!CountdownFactory} countdownFactory A countdown timer factory.
+ * @param {!IndividualAttestation} individualAttestation An individual
+ * attestation implementation.
* @constructor
*/
-function DeviceFactoryRegistry(gnubbyFactory, countdownFactory) {
+function DeviceFactoryRegistry(gnubbyFactory, countdownFactory,
+ individualAttestation) {
/** @private {!GnubbyFactory} */
this.gnubbyFactory_ = gnubbyFactory;
/** @private {!CountdownFactory} */
this.countdownFactory_ = countdownFactory;
+ /** @private {!IndividualAttestation} */
+ this.individualAttestation_ = individualAttestation;
}
/** @return {!GnubbyFactory} A Gnubby factory. */
@@ -29,3 +34,9 @@ DeviceFactoryRegistry.prototype.getGnubbyFactory = function() {
DeviceFactoryRegistry.prototype.getCountdownFactory = function() {
return this.countdownFactory_;
};
+
+/** @return {!IndividualAttestation} An individual attestation implementation.
+ */
+DeviceFactoryRegistry.prototype.getIndividualAttestation = function() {
+ return this.individualAttestation_;
+};

Powered by Google App Engine
This is Rietveld 408576698