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

Side by Side Diff: remoting/signaling/log_to_server.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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.h ('k') | remoting/signaling/log_to_server_unittest.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 16 matching lines...) Expand all
27 class LogToServer : public base::NonThreadSafe, 27 class LogToServer : public base::NonThreadSafe,
28 public SignalStrategy::Listener { 28 public SignalStrategy::Listener {
29 public: 29 public:
30 LogToServer(ServerLogEntry::Mode mode, 30 LogToServer(ServerLogEntry::Mode mode,
31 SignalStrategy* signal_strategy, 31 SignalStrategy* signal_strategy,
32 const std::string& directory_bot_jid); 32 const std::string& directory_bot_jid);
33 virtual ~LogToServer(); 33 virtual ~LogToServer();
34 34
35 // SignalStrategy::Listener interface. 35 // SignalStrategy::Listener interface.
36 virtual void OnSignalStrategyStateChange( 36 virtual void OnSignalStrategyStateChange(
37 SignalStrategy::State state) OVERRIDE; 37 SignalStrategy::State state) override;
38 virtual bool OnSignalStrategyIncomingStanza( 38 virtual bool OnSignalStrategyIncomingStanza(
39 const buzz::XmlElement* stanza) OVERRIDE; 39 const buzz::XmlElement* stanza) override;
40 40
41 void Log(const ServerLogEntry& entry); 41 void Log(const ServerLogEntry& entry);
42 42
43 ServerLogEntry::Mode mode() { return mode_; } 43 ServerLogEntry::Mode mode() { return mode_; }
44 44
45 private: 45 private:
46 void SendPendingEntries(); 46 void SendPendingEntries();
47 47
48 ServerLogEntry::Mode mode_; 48 ServerLogEntry::Mode mode_;
49 SignalStrategy* signal_strategy_; 49 SignalStrategy* signal_strategy_;
50 scoped_ptr<IqSender> iq_sender_; 50 scoped_ptr<IqSender> iq_sender_;
51 std::string directory_bot_jid_; 51 std::string directory_bot_jid_;
52 52
53 std::deque<ServerLogEntry> pending_entries_; 53 std::deque<ServerLogEntry> pending_entries_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(LogToServer); 55 DISALLOW_COPY_AND_ASSIGN(LogToServer);
56 }; 56 };
57 57
58 } // namespace remoting 58 } // namespace remoting
59 59
60 #endif // REMOTING_SIGNALING_LOG_TO_SERVER_H_ 60 #endif // REMOTING_SIGNALING_LOG_TO_SERVER_H_
OLDNEW
« no previous file with comments | « remoting/signaling/iq_sender.h ('k') | remoting/signaling/log_to_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698