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

Unified Diff: extensions/browser/content_verify_job.h

Issue 630243002: Fix extension content verification handling of ./ in icon paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added copyright headers to .js files to fix presubmit error 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 6ffa3a04aa5b111d057791fdccb0af62cba07f5f..69928869abdbc2d6b9a2bb34e169b83470fa2e3e 100644
--- a/extensions/browser/content_verify_job.h
+++ b/extensions/browser/content_verify_job.h
@@ -76,7 +76,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