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

Unified Diff: components/web_resource/promo_resource_service_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/promo_resource_service_unittest.cc
diff --git a/components/web_resource/promo_resource_service_unittest.cc b/components/web_resource/promo_resource_service_unittest.cc
index c283523fa7872ba25c6b087d24a90c0de29eda78..a85f78593bbde1d79175ac247b810d44f6fab670 100644
--- a/components/web_resource/promo_resource_service_unittest.cc
+++ b/components/web_resource/promo_resource_service_unittest.cc
@@ -4,6 +4,7 @@
#include <stddef.h>
+#include <memory>
#include <utility>
#include <vector>
@@ -328,7 +329,7 @@ class NotificationPromoTest : public testing::Test {
base::MessageLoop loop_;
NotificationPromo notification_promo_;
bool received_notification_;
- scoped_ptr<base::DictionaryValue> test_json_;
+ std::unique_ptr<base::DictionaryValue> test_json_;
NotificationPromo::PromoType promo_type_;
std::string promo_text_;

Powered by Google App Engine
This is Rietveld 408576698