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

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: fixes suggested by review 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
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/install_signer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..167418111fd693849b2ba2fb84570bbd5a82de6b 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();
@@ -108,6 +111,7 @@ class InstallSigner {
net::URLRequestContextGetter* context_getter_;
scoped_ptr<net::URLFetcher> url_fetcher_;
scoped_ptr<FetcherDelegate> delegate_;
+ base::Time request_start_time_; // Not set until the request starts.
Finnur 2014/02/12 16:56:26 nit: Probably would prefer to have this not lumped
asargent_no_longer_on_chrome 2014/02/12 18:32:26 Done.
DISALLOW_COPY_AND_ASSIGN(InstallSigner);
};
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/install_signer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698