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

Side by Side Diff: remoting/host/host_change_notification_listener.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H 5 #ifndef REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H
6 #define REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H 6 #define REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
11 #include "base/macros.h" 12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "remoting/signaling/signal_strategy.h" 14 #include "remoting/signaling/signal_strategy.h"
15 15
16 namespace buzz { 16 namespace buzz {
17 class XmlElement; 17 class XmlElement;
18 } // namespace buzz 18 } // namespace buzz
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 // HostChangeNotificationListener listens for messages from the remoting bot 22 // HostChangeNotificationListener listens for messages from the remoting bot
(...skipping 28 matching lines...) Expand all
51 std::string host_id_; 51 std::string host_id_;
52 SignalStrategy* signal_strategy_; 52 SignalStrategy* signal_strategy_;
53 std::string directory_bot_jid_; 53 std::string directory_bot_jid_;
54 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; 54 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_;
55 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener); 55 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener);
56 }; 56 };
57 57
58 } // namespace remoting 58 } // namespace remoting
59 59
60 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H 60 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H
OLDNEW
« no previous file with comments | « remoting/host/heartbeat_sender_unittest.cc ('k') | remoting/host/host_change_notification_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698