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

Unified Diff: components/web_resource/notification_promo.h

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/notification_promo.h
diff --git a/components/web_resource/notification_promo.h b/components/web_resource/notification_promo.h
index f26bcae91d8769608ac18811e58b451d60529d94..6a2e3ffc75b10020aabec9d7c9ad50b61096fd82 100644
--- a/components/web_resource/notification_promo.h
+++ b/components/web_resource/notification_promo.h
@@ -5,11 +5,11 @@
#ifndef COMPONENTS_WEB_RESOURCE_NOTIFICATION_PROMO_H_
#define COMPONENTS_WEB_RESOURCE_NOTIFICATION_PROMO_H_
+#include <memory>
#include <string>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "url/gurl.h"
class PrefRegistrySimple;
@@ -110,7 +110,7 @@ class NotificationPromo {
PromoType promo_type_;
std::string promo_text_;
- scoped_ptr<const base::DictionaryValue> promo_payload_;
+ std::unique_ptr<const base::DictionaryValue> promo_payload_;
double start_;
double end_;
« no previous file with comments | « components/web_resource/eula_accepted_notifier_unittest.cc ('k') | components/web_resource/promo_resource_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698