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

Unified Diff: chrome/browser/extensions/extension_system_impl.cc

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_protocols_unittest.cc ('k') | extensions/browser/content_verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_system_impl.cc
diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc
index 602711d7151d590ba44ee3bc32dad574322fe6b3..17930a55c042905a49a976d290f1a2ed2cdca0ae 100644
--- a/chrome/browser/extensions/extension_system_impl.cc
+++ b/chrome/browser/extensions/extension_system_impl.cc
@@ -197,7 +197,7 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) {
ExtensionErrorReporter::Init(allow_noisy_errors);
content_verifier_ = new ContentVerifier(
- profile_, new ChromeContentVerifierDelegate(profile_));
+ profile_, base::MakeUnique<ChromeContentVerifierDelegate>(profile_));
service_worker_manager_.reset(new ServiceWorkerManager(profile_));
« no previous file with comments | « chrome/browser/extensions/extension_protocols_unittest.cc ('k') | extensions/browser/content_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698