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

Unified Diff: remoting/signaling/push_notification_subscriber.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
« no previous file with comments | « remoting/signaling/mock_signal_strategy.h ('k') | remoting/signaling/push_notification_subscriber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/push_notification_subscriber.h
diff --git a/remoting/signaling/push_notification_subscriber.h b/remoting/signaling/push_notification_subscriber.h
index 9731e6a4e0d1fc3f53e7bfd2750d2696181fcdbe..d379b9594afaeb1112fb4a8cbf503de662019ff7 100644
--- a/remoting/signaling/push_notification_subscriber.h
+++ b/remoting/signaling/push_notification_subscriber.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_
#define REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "remoting/signaling/signal_strategy.h"
namespace remoting {
@@ -47,8 +47,8 @@ class PushNotificationSubscriber : public SignalStrategy::Listener {
SignalStrategy* signal_strategy_;
SubscriptionList subscriptions_;
- scoped_ptr<IqSender> iq_sender_;
- scoped_ptr<IqRequest> iq_request_;
+ std::unique_ptr<IqSender> iq_sender_;
+ std::unique_ptr<IqRequest> iq_request_;
DISALLOW_COPY_AND_ASSIGN(PushNotificationSubscriber);
};
« no previous file with comments | « remoting/signaling/mock_signal_strategy.h ('k') | remoting/signaling/push_notification_subscriber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698