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

Side by Side Diff: net/base/network_change_notifier_linux.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/base/network_change_notifier_linux.h ('k') | net/base/network_change_notifier_mac.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 "net/base/network_change_notifier_linux.h" 5 #include "net/base/network_change_notifier_linux.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "net/base/address_tracker_linux.h" 10 #include "net/base/address_tracker_linux.h"
(...skipping 11 matching lines...) Expand all
22 NetworkChangeNotifier::ConnectionType GetCurrentConnectionType() { 22 NetworkChangeNotifier::ConnectionType GetCurrentConnectionType() {
23 return address_tracker_.GetCurrentConnectionType(); 23 return address_tracker_.GetCurrentConnectionType();
24 } 24 }
25 25
26 const internal::AddressTrackerLinux* address_tracker() const { 26 const internal::AddressTrackerLinux* address_tracker() const {
27 return &address_tracker_; 27 return &address_tracker_;
28 } 28 }
29 29
30 protected: 30 protected:
31 // base::Thread 31 // base::Thread
32 virtual void Init() OVERRIDE; 32 virtual void Init() override;
33 virtual void CleanUp() OVERRIDE; 33 virtual void CleanUp() override;
34 34
35 private: 35 private:
36 scoped_ptr<DnsConfigService> dns_config_service_; 36 scoped_ptr<DnsConfigService> dns_config_service_;
37 // Used to detect online/offline state and IP address changes. 37 // Used to detect online/offline state and IP address changes.
38 internal::AddressTrackerLinux address_tracker_; 38 internal::AddressTrackerLinux address_tracker_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(Thread); 40 DISALLOW_COPY_AND_ASSIGN(Thread);
41 }; 41 };
42 42
43 NetworkChangeNotifierLinux::Thread::Thread() 43 NetworkChangeNotifierLinux::Thread::Thread()
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 NetworkChangeNotifierLinux::GetCurrentConnectionType() const { 103 NetworkChangeNotifierLinux::GetCurrentConnectionType() const {
104 return notifier_thread_->GetCurrentConnectionType(); 104 return notifier_thread_->GetCurrentConnectionType();
105 } 105 }
106 106
107 const internal::AddressTrackerLinux* 107 const internal::AddressTrackerLinux*
108 NetworkChangeNotifierLinux::GetAddressTrackerInternal() const { 108 NetworkChangeNotifierLinux::GetAddressTrackerInternal() const {
109 return notifier_thread_->address_tracker(); 109 return notifier_thread_->address_tracker();
110 } 110 }
111 111
112 } // namespace net 112 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_change_notifier_linux.h ('k') | net/base/network_change_notifier_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698