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

Unified Diff: extensions/browser/content_verifier.cc

Issue 1243533005: Revert of Fix content verifier problem with content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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.h ('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_verifier.cc
diff --git a/extensions/browser/content_verifier.cc b/extensions/browser/content_verifier.cc
index ff03fde1242ffd241920a8f240f54a1eef6eed36..3bbe4a9a6bdc2d67c697e17625b7fb29d87fe500 100644
--- a/extensions/browser/content_verifier.cc
+++ b/extensions/browser/content_verifier.cc
@@ -20,17 +20,6 @@
namespace extensions {
-namespace {
-
-ContentVerifier::TestObserver* g_test_observer = NULL;
-
-} // namespace
-
-// static
-void ContentVerifier::SetObserverForTests(TestObserver* observer) {
- g_test_observer = observer;
-}
-
ContentVerifier::ContentVerifier(content::BrowserContext* context,
ContentVerifierDelegate* delegate)
: shutdown_(false),
@@ -198,9 +187,6 @@
bool success,
bool was_force_check,
const std::set<base::FilePath>& hash_mismatch_paths) {
- if (g_test_observer)
- g_test_observer->OnFetchComplete(extension_id, success);
-
if (shutdown_)
return;
« no previous file with comments | « extensions/browser/content_verifier.h ('k') | extensions/browser/content_verify_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698