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

Unified Diff: chrome/browser/extensions/install_verifier.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/install_signer.cc ('k') | chrome/browser/extensions/install_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/install_verifier.h
diff --git a/chrome/browser/extensions/install_verifier.h b/chrome/browser/extensions/install_verifier.h
index 7c7c3ee8ae74a02011ea16f248c0822f8b8b3fae..62885ce8d9c567294af02069d19b0cd432323ff3 100644
--- a/chrome/browser/extensions/install_verifier.h
+++ b/chrome/browser/extensions/install_verifier.h
@@ -56,6 +56,10 @@ class InstallVerifier : public ManagementPolicy::Provider {
// Returns the timestamp of our InstallSignature, if we have one.
base::Time SignatureTimestamp();
+ // Returns true if |id| is either verified or our stored signature explicitly
+ // tells us that it was invalid when we asked the server about it.
+ bool IsKnownId(const std::string& id);
+
// A callback for indicating success/failure of adding new ids.
typedef base::Callback<void(bool)> AddResultCallback;
« no previous file with comments | « chrome/browser/extensions/install_signer.cc ('k') | chrome/browser/extensions/install_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698