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

Unified Diff: extensions/browser/content_verify_job.h

Issue 647193005: Merge codereview.chromium.org/630243002 onto 2171 branch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/2171
Patch Set: Created 6 years, 2 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_io_data.cc ('k') | extensions/browser/content_verify_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_verify_job.h
diff --git a/extensions/browser/content_verify_job.h b/extensions/browser/content_verify_job.h
index 3ec9f852e0e32f88448564932534273af500f482..67b7f0592350f90986e95b56aafbbbf63946edd9 100644
--- a/extensions/browser/content_verify_job.h
+++ b/extensions/browser/content_verify_job.h
@@ -78,7 +78,18 @@ class ContentVerifyJob : public base::RefCountedThreadSafe<ContentVerifyJob> {
virtual FailureReason DoneReading(const std::string& extension_id) = 0;
};
+ class TestObserver {
+ public:
+ virtual void JobStarted(const std::string& extension_id,
+ const base::FilePath& relative_path) = 0;
+
+ virtual void JobFinished(const std::string& extension_id,
+ const base::FilePath& relative_path,
+ bool failed) = 0;
+ };
+
static void SetDelegateForTests(TestDelegate* delegate);
+ static void SetObserverForTests(TestObserver* observer);
private:
DISALLOW_COPY_AND_ASSIGN(ContentVerifyJob);
« no previous file with comments | « extensions/browser/content_verifier_io_data.cc ('k') | extensions/browser/content_verify_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698