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

Unified Diff: chrome/browser/extensions/install_signer.h

Issue 160313002: Don't disable extensions immediately if verification is out of date (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor fixes Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/install_signer.h
diff --git a/chrome/browser/extensions/install_signer.h b/chrome/browser/extensions/install_signer.h
index 988f6e65db30fa81454d104e571179033cfe83bc..a6177c4f5cacbee127c2c5b76956c4829dbf0191 100644
--- a/chrome/browser/extensions/install_signer.h
+++ b/chrome/browser/extensions/install_signer.h
@@ -38,6 +38,9 @@ struct InstallSignature {
// The date that the signature should expire, in YYYY-MM-DD format.
std::string expire_date;
+ // The time this signature was obtained from the server.
+ base::Time timestamp;
+
InstallSignature();
~InstallSignature();
@@ -109,6 +112,9 @@ class InstallSigner {
scoped_ptr<net::URLFetcher> url_fetcher_;
scoped_ptr<FetcherDelegate> delegate_;
+ // The time the request to the server was started.
+ base::Time request_start_time_;
+
DISALLOW_COPY_AND_ASSIGN(InstallSigner);
};

Powered by Google App Engine
This is Rietveld 408576698