| 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 086bc5ef2ebb33c97666428fd5ce31418bd314ce..1f489fd88636d20f0b560dd07b3016d0de3150cb 100644
|
| --- a/chrome/browser/extensions/chrome_content_verifier_delegate.h
|
| +++ b/chrome/browser/extensions/chrome_content_verifier_delegate.h
|
| @@ -24,6 +24,8 @@ class BackoffEntry;
|
|
|
| namespace extensions {
|
|
|
| +class PolicyExtensionReinstaller;
|
| +
|
| class ChromeContentVerifierDelegate : public ContentVerifierDelegate {
|
| public:
|
| static Mode GetDefaultMode();
|
| @@ -41,13 +43,7 @@ class ChromeContentVerifierDelegate : public ContentVerifierDelegate {
|
| const extensions::Extension* extension) override;
|
| void VerifyFailed(const std::string& extension_id,
|
| ContentVerifyJob::FailureReason reason) override;
|
| -
|
| - protected:
|
| - FRIEND_TEST_ALL_PREFIXES(ContentVerifierPolicyTest, Backoff);
|
| - // For tests, overrides the default action to take to initiate policy
|
| - // force-reinstalls.
|
| - static void set_policy_reinstall_action_for_test(
|
| - base::Callback<void(base::TimeDelta delay)>* action);
|
| + void Shutdown() override;
|
|
|
| private:
|
| content::BrowserContext* context_;
|
| @@ -63,6 +59,8 @@ class ChromeContentVerifierDelegate : public ContentVerifierDelegate {
|
| // disabled if content verification was in ENFORCE mode.
|
| std::set<std::string> would_be_disabled_ids_;
|
|
|
| + std::unique_ptr<PolicyExtensionReinstaller> policy_extension_reinstaller_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeContentVerifierDelegate);
|
| };
|
|
|
|
|