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

Unified Diff: extensions/browser/content_verify_job.cc

Issue 288273004: A bunch of remaining parts of extension content verification (Reland) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser test Created 6 years, 7 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 | « extensions/browser/content_verifier_delegate.h ('k') | extensions/common/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_verify_job.cc
diff --git a/extensions/browser/content_verify_job.cc b/extensions/browser/content_verify_job.cc
index 601d66c0f9dd3b49c1a1a4ac694f907e14d2f2bc..5eec659d331fc24881aeedfe8dc2b5101f96cd0b 100644
--- a/extensions/browser/content_verify_job.cc
+++ b/extensions/browser/content_verify_job.cc
@@ -121,7 +121,7 @@ void ContentVerifyJob::FinishBlock() {
}
void ContentVerifyJob::OnHashesReady(bool success) {
- if (!success)
+ if (!success && !g_test_delegate)
return DispatchFailureCallback(NO_HASHES);
hashes_ready_ = true;
« no previous file with comments | « extensions/browser/content_verifier_delegate.h ('k') | extensions/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698