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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/macros.h"
9 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
10 #include "net/base/address_tracker_linux.h" 11 #include "net/base/address_tracker_linux.h"
11 #include "net/dns/dns_config_service.h" 12 #include "net/dns/dns_config_service.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 class NetworkChangeNotifierLinux::Thread : public base::Thread { 16 class NetworkChangeNotifierLinux::Thread : public base::Thread {
16 public: 17 public:
17 explicit Thread(const base::hash_set<std::string>& ignored_interfaces); 18 explicit Thread(const base::hash_set<std::string>& ignored_interfaces);
18 ~Thread() override; 19 ~Thread() override;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 NetworkChangeNotifierLinux::GetCurrentConnectionType() const { 126 NetworkChangeNotifierLinux::GetCurrentConnectionType() const {
126 return notifier_thread_->GetCurrentConnectionType(); 127 return notifier_thread_->GetCurrentConnectionType();
127 } 128 }
128 129
129 const internal::AddressTrackerLinux* 130 const internal::AddressTrackerLinux*
130 NetworkChangeNotifierLinux::GetAddressTrackerInternal() const { 131 NetworkChangeNotifierLinux::GetAddressTrackerInternal() const {
131 return notifier_thread_->address_tracker(); 132 return notifier_thread_->address_tracker();
132 } 133 }
133 134
134 } // namespace net 135 } // 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