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

Unified Diff: extensions/browser/content_verifier.h

Issue 2783113002: nit: Pass ownership of CVDelegate to ContentVerifier using unique_ptr. (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/browser/extensions/extension_system_impl.cc ('k') | extensions/browser/content_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_verifier.h
diff --git a/extensions/browser/content_verifier.h b/extensions/browser/content_verifier.h
index 83707bbc04c91fccc00251764a7895495aec13f3..ffb6d065ec6a5fa4fe9a0b12dbcb2dfe63e55b21 100644
--- a/extensions/browser/content_verifier.h
+++ b/extensions/browser/content_verifier.h
@@ -44,9 +44,8 @@ class ContentVerifier : public base::RefCountedThreadSafe<ContentVerifier>,
};
static void SetObserverForTests(TestObserver* observer);
- // Takes ownership of |delegate|.
ContentVerifier(content::BrowserContext* context,
- ContentVerifierDelegate* delegate);
+ std::unique_ptr<ContentVerifierDelegate> delegate);
void Start();
void Shutdown();
« no previous file with comments | « chrome/browser/extensions/extension_system_impl.cc ('k') | extensions/browser/content_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698