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

Unified Diff: components/web_resource/resource_request_allowed_notifier_unittest.cc

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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: components/web_resource/resource_request_allowed_notifier_unittest.cc
diff --git a/components/web_resource/resource_request_allowed_notifier_unittest.cc b/components/web_resource/resource_request_allowed_notifier_unittest.cc
index 10db8ab3e3aacad9198a041773e4421851e9dc07..45ffa9a7590b64c8b3736fc59ab39cc6224bd12d 100644
--- a/components/web_resource/resource_request_allowed_notifier_unittest.cc
+++ b/components/web_resource/resource_request_allowed_notifier_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "components/prefs/testing_pref_service.h"
#include "components/web_resource/eula_accepted_notifier.h"
#include "components/web_resource/resource_request_allowed_notifier_test_util.h"
@@ -79,7 +80,7 @@ class ResourceRequestAllowedNotifierTest
eula_notifier_(new TestEulaAcceptedNotifier),
was_notified_(false) {
resource_request_allowed_notifier_.InitWithEulaAcceptNotifier(
- this, scoped_ptr<EulaAcceptedNotifier>(eula_notifier_));
+ this, base::WrapUnique(eula_notifier_));
}
~ResourceRequestAllowedNotifierTest() override {}
« no previous file with comments | « components/web_resource/resource_request_allowed_notifier_test_util.cc ('k') | components/web_resource/web_resource_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698