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

Unified Diff: extensions/browser/content_verify_job.h

Issue 329303007: Fix several problems with the content verification code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready Created 6 years, 6 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: extensions/browser/content_verify_job.h
diff --git a/extensions/browser/content_verify_job.h b/extensions/browser/content_verify_job.h
index 11660f3b3af81d1ead060dac09d4fdc2caed273c..5a57c6eaf8b7b7358c4a94046cc74da61f4ffaa0 100644
--- a/extensions/browser/content_verify_job.h
+++ b/extensions/browser/content_verify_job.h
@@ -34,8 +34,12 @@ class ContentVerifyJob : public base::RefCountedThreadSafe<ContentVerifyJob> {
// No failure.
NONE,
- // Failed because there were no expected hashes.
- NO_HASHES,
+ // Failed because there were no expected hashes at all (eg they haven't
+ // been fetched yet).
+ MISSING_ALL_HASHES,
+
+ // Failed because this file wasn't found in the list of expected hashes.
+ NO_HASHES_FOR_FILE,
// Some of the content read did not match the expected hash.
HASH_MISMATCH

Powered by Google App Engine
This is Rietveld 408576698