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

Side by Side Diff: net/base/net_util_posix.h

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/android/network_library.cc ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_NET_UTIL_POSIX_H_
6 #define NET_BASE_NET_UTIL_POSIX_H_
7
8 // This file is only used to expose some of the internals
9 // of net_util_posix.cc to tests.
10
11 namespace net {
12 namespace internal {
13
14 #if !defined(OS_MACOSX) && !defined(OS_NACL)
15 typedef char* (*GetInterfaceNameFunction)(unsigned int interface_index,
16 char* ifname);
17
18 NET_EXPORT bool GetNetworkListImpl(
19 NetworkInterfaceList* networks,
20 int policy,
21 const base::hash_set<int>& online_links,
22 const internal::AddressTrackerLinux::AddressMap& address_map,
23 GetInterfaceNameFunction get_interface_name);
24
25 #endif // !OS_MACOSX && !OS_NACL
26
27 } // namespace internal
28
29 } // namespace net
30
31 #endif // NET_BASE_NET_UTIL_POSIX_H_
OLDNEW
« no previous file with comments | « net/android/network_library.cc ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698