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

Unified Diff: components/web_resource/eula_accepted_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/eula_accepted_notifier_unittest.cc
diff --git a/components/web_resource/eula_accepted_notifier_unittest.cc b/components/web_resource/eula_accepted_notifier_unittest.cc
index 3d5ad4c0d4e930e22c5c5e5196746fcd562886c7..f9d7f97643a440d0be7328a833ab8723b861bc12 100644
--- a/components/web_resource/eula_accepted_notifier_unittest.cc
+++ b/components/web_resource/eula_accepted_notifier_unittest.cc
@@ -4,8 +4,9 @@
#include "components/web_resource/eula_accepted_notifier.h"
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/web_resource/web_resource_pref_names.h"
@@ -46,7 +47,7 @@ class EulaAcceptedNotifierTest : public testing::Test,
private:
TestingPrefServiceSimple local_state_;
- scoped_ptr<EulaAcceptedNotifier> notifier_;
+ std::unique_ptr<EulaAcceptedNotifier> notifier_;
bool eula_accepted_called_;
DISALLOW_COPY_AND_ASSIGN(EulaAcceptedNotifierTest);
« no previous file with comments | « components/web_modal/web_contents_modal_dialog_manager_unittest.cc ('k') | components/web_resource/notification_promo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698