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

Side by Side Diff: remoting/signaling/log_to_server.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
« no previous file with comments | « remoting/signaling/iq_sender_unittest.cc ('k') | remoting/signaling/log_to_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SIGNALING_LOG_TO_SERVER_H_ 5 #ifndef REMOTING_SIGNALING_LOG_TO_SERVER_H_
6 #define REMOTING_SIGNALING_LOG_TO_SERVER_H_ 6 #define REMOTING_SIGNALING_LOG_TO_SERVER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 28 matching lines...) Expand all
39 39
40 void Log(const ServerLogEntry& entry); 40 void Log(const ServerLogEntry& entry);
41 41
42 ServerLogEntry::Mode mode() { return mode_; } 42 ServerLogEntry::Mode mode() { return mode_; }
43 43
44 private: 44 private:
45 void SendPendingEntries(); 45 void SendPendingEntries();
46 46
47 ServerLogEntry::Mode mode_; 47 ServerLogEntry::Mode mode_;
48 SignalStrategy* signal_strategy_; 48 SignalStrategy* signal_strategy_;
49 scoped_ptr<IqSender> iq_sender_; 49 std::unique_ptr<IqSender> iq_sender_;
50 std::string directory_bot_jid_; 50 std::string directory_bot_jid_;
51 51
52 std::deque<ServerLogEntry> pending_entries_; 52 std::deque<ServerLogEntry> pending_entries_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(LogToServer); 54 DISALLOW_COPY_AND_ASSIGN(LogToServer);
55 }; 55 };
56 56
57 } // namespace remoting 57 } // namespace remoting
58 58
59 #endif // REMOTING_SIGNALING_LOG_TO_SERVER_H_ 59 #endif // REMOTING_SIGNALING_LOG_TO_SERVER_H_
OLDNEW
« no previous file with comments | « remoting/signaling/iq_sender_unittest.cc ('k') | remoting/signaling/log_to_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698