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

Side by Side Diff: remoting/host/fake_host_status_monitor.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/host/fake_host_extension.cc ('k') | remoting/host/fake_mouse_cursor_monitor.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) 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_FAKE_HOST_STATUS_MONITOR_H_ 5 #ifndef REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
6 #define REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_ 6 #define REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "remoting/host/host_status_monitor.h" 9 #include "remoting/host/host_status_monitor.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 // An implementation of HostStatusMonitor that does nothing. 13 // An implementation of HostStatusMonitor that does nothing.
14 class FakeHostStatusMonitor 14 class FakeHostStatusMonitor
15 : public base::SupportsWeakPtr<FakeHostStatusMonitor>, 15 : public base::SupportsWeakPtr<FakeHostStatusMonitor>,
16 public HostStatusMonitor { 16 public HostStatusMonitor {
17 public: 17 public:
18 virtual ~FakeHostStatusMonitor() {} 18 virtual ~FakeHostStatusMonitor() {}
19 19
20 // HostStatusMonitor interface. 20 // HostStatusMonitor interface.
21 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE {} 21 virtual void AddStatusObserver(HostStatusObserver* observer) override {}
22 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE {} 22 virtual void RemoveStatusObserver(HostStatusObserver* observer) override {}
23 }; 23 };
24 24
25 } // namespace remoting 25 } // namespace remoting
26 26
27 #endif // REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_ 27 #endif // REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
OLDNEW
« no previous file with comments | « remoting/host/fake_host_extension.cc ('k') | remoting/host/fake_mouse_cursor_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698