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

Side by Side Diff: remoting/host/host_event_logger_win.cc

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/host/host_event_logger_posix.cc ('k') | remoting/host/host_mock_objects.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/host/host_event_logger.h" 5 #include "remoting/host/host_event_logger.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver { 26 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver {
27 public: 27 public:
28 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, 28 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor,
29 const std::string& application_name); 29 const std::string& application_name);
30 30
31 virtual ~HostEventLoggerWin(); 31 virtual ~HostEventLoggerWin();
32 32
33 // HostStatusObserver implementation. These methods will be called from the 33 // HostStatusObserver implementation. These methods will be called from the
34 // network thread. 34 // network thread.
35 virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE; 35 virtual void OnClientAuthenticated(const std::string& jid) override;
36 virtual void OnClientDisconnected(const std::string& jid) OVERRIDE; 36 virtual void OnClientDisconnected(const std::string& jid) override;
37 virtual void OnAccessDenied(const std::string& jid) OVERRIDE; 37 virtual void OnAccessDenied(const std::string& jid) override;
38 virtual void OnClientRouteChange( 38 virtual void OnClientRouteChange(
39 const std::string& jid, 39 const std::string& jid,
40 const std::string& channel_name, 40 const std::string& channel_name,
41 const protocol::TransportRoute& route) OVERRIDE; 41 const protocol::TransportRoute& route) override;
42 virtual void OnStart(const std::string& xmpp_login) OVERRIDE; 42 virtual void OnStart(const std::string& xmpp_login) override;
43 virtual void OnShutdown() OVERRIDE; 43 virtual void OnShutdown() override;
44 44
45 private: 45 private:
46 void LogString(WORD type, DWORD event_id, const std::string& string); 46 void LogString(WORD type, DWORD event_id, const std::string& string);
47 void Log(WORD type, DWORD event_id, const std::vector<std::string>& strings); 47 void Log(WORD type, DWORD event_id, const std::vector<std::string>& strings);
48 48
49 base::WeakPtr<HostStatusMonitor> monitor_; 49 base::WeakPtr<HostStatusMonitor> monitor_;
50 50
51 // The handle of the application event log. 51 // The handle of the application event log.
52 HANDLE event_log_; 52 HANDLE event_log_;
53 53
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 // static 149 // static
150 scoped_ptr<HostEventLogger> HostEventLogger::Create( 150 scoped_ptr<HostEventLogger> HostEventLogger::Create(
151 base::WeakPtr<HostStatusMonitor> monitor, 151 base::WeakPtr<HostStatusMonitor> monitor,
152 const std::string& application_name) { 152 const std::string& application_name) {
153 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name)); 153 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name));
154 } 154 }
155 155
156 } // namespace remoting 156 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_event_logger_posix.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698