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

Unified Diff: chrome/browser/extensions/chrome_content_verifier_delegate.h

Issue 2299203004: Attempt to repair corrupt enterprise policy force-installed extensions (Closed)
Patch Set: switched to using installsource, addressed review comments Created 4 years, 3 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: chrome/browser/extensions/chrome_content_verifier_delegate.h
diff --git a/chrome/browser/extensions/chrome_content_verifier_delegate.h b/chrome/browser/extensions/chrome_content_verifier_delegate.h
index 6c815bb1fc5563dfe38d4e3e77f1cca55a3af74a..f889170e944d17dc1aac17d025e4f154aa9bcf2d 100644
--- a/chrome/browser/extensions/chrome_content_verifier_delegate.h
+++ b/chrome/browser/extensions/chrome_content_verifier_delegate.h
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_VERIFIER_DELEGATE_H_
#define CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_VERIFIER_DELEGATE_H_
+#include <set>
+#include <string>
+
#include "base/macros.h"
#include "extensions/browser/content_verifier_delegate.h"
@@ -33,8 +36,6 @@ class ChromeContentVerifierDelegate : public ContentVerifierDelegate {
ContentVerifyJob::FailureReason reason) override;
private:
- void LogFailureForPolicyForceInstall(const std::string& extension_id);
-
content::BrowserContext* context_;
ContentVerifierDelegate::Mode default_mode_;
@@ -42,12 +43,6 @@ class ChromeContentVerifierDelegate : public ContentVerifierDelegate {
// disabled if content verification was in ENFORCE mode.
std::set<std::string> would_be_disabled_ids_;
- // Currently enterprise policy extensions that must remain enabled will not
- // be disabled due to content verification failure, but we are considering
- // changing this (crbug.com/447040), so for now we are tracking how often
- // this happens to help inform the decision.
- std::set<std::string> corrupt_policy_extensions_;
-
DISALLOW_COPY_AND_ASSIGN(ChromeContentVerifierDelegate);
};
« no previous file with comments | « chrome/browser/chromeos/extensions/external_cache.cc ('k') | chrome/browser/extensions/chrome_content_verifier_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698