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

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

Issue 189003004: Fix install verification for sideloaded extensions without update urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comment Created 6 years, 9 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 a6177c4f5cacbee127c2c5b76956c4829dbf0191..56f23b4f1455e9ffb2905ce6f82ac8335b63e586 100644
--- a/chrome/browser/extensions/install_signer.h
+++ b/chrome/browser/extensions/install_signer.h
@@ -38,9 +38,14 @@ 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.
+ // The time this signature was obtained from the server. Note that this
+ // is computed locally and *not* signed by the server key.
base::Time timestamp;
+ // The set of ids that the server indicated were invalid (ie not signed).
+ // Note that this is computed locally and *not* signed by the signature.
+ ExtensionIdSet invalid_ids;
+
InstallSignature();
~InstallSignature();
« 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