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

Side by Side Diff: remoting/test/fake_network_manager.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/xmpp_signal_strategy.h ('k') | remoting/test/fake_port_allocator.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 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_TEST_FAKE_NETWORK_MANAGER_H_ 5 #ifndef REMOTING_TEST_FAKE_NETWORK_MANAGER_H_
6 #define REMOTING_TEST_FAKE_NETWORK_MANAGER_H_ 6 #define REMOTING_TEST_FAKE_NETWORK_MANAGER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "third_party/webrtc/base/network.h" 10 #include "third_party/webrtc/base/network.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 // FakeNetworkManager always returns one interface with the IP address 14 // FakeNetworkManager always returns one interface with the IP address
15 // specified in the constructor. 15 // specified in the constructor.
16 class FakeNetworkManager : public rtc::NetworkManager { 16 class FakeNetworkManager : public rtc::NetworkManager {
17 public: 17 public:
18 FakeNetworkManager(const rtc::IPAddress& address); 18 FakeNetworkManager(const rtc::IPAddress& address);
19 virtual ~FakeNetworkManager(); 19 virtual ~FakeNetworkManager();
20 20
21 // rtc::NetworkManager interface. 21 // rtc::NetworkManager interface.
22 virtual void StartUpdating() OVERRIDE; 22 virtual void StartUpdating() override;
23 virtual void StopUpdating() OVERRIDE; 23 virtual void StopUpdating() override;
24 virtual void GetNetworks(NetworkList* networks) const OVERRIDE; 24 virtual void GetNetworks(NetworkList* networks) const override;
25 25
26 protected: 26 protected:
27 void SendNetworksChangedSignal(); 27 void SendNetworksChangedSignal();
28 28
29 bool started_; 29 bool started_;
30 scoped_ptr<rtc::Network> network_; 30 scoped_ptr<rtc::Network> network_;
31 31
32 base::WeakPtrFactory<FakeNetworkManager> weak_factory_; 32 base::WeakPtrFactory<FakeNetworkManager> weak_factory_;
33 }; 33 };
34 34
35 } // namespace remoting 35 } // namespace remoting
36 36
37 #endif // REMOTING_TEST_FAKE_NETWORK_MANAGER_H_ 37 #endif // REMOTING_TEST_FAKE_NETWORK_MANAGER_H_
OLDNEW
« no previous file with comments | « remoting/signaling/xmpp_signal_strategy.h ('k') | remoting/test/fake_port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698