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

Unified Diff: net/base/net_util_linux.h

Issue 739983005: Determine connection type in NetworkChangeNotifierLinux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments in patchset 9 Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/base/net_util_linux.h
diff --git a/net/base/net_util_linux.h b/net/base/net_util_linux.h
index 340c3802eea080878a82db44a6b989a6c329971b..fb5b6f44f9b563cf2af4758e2c6801ddd781000e 100644
--- a/net/base/net_util_linux.h
+++ b/net/base/net_util_linux.h
@@ -6,7 +6,7 @@
#define NET_BASE_NET_UTIL_LINUX_H_
// This file is only used to expose some of the internals
-// of net_util_linux.cc to tests.
+// of net_util_linux.cc to address_tracker_linux and tests.
#include "base/containers/hash_tables.h"
#include "net/base/address_tracker_linux.h"
@@ -15,8 +15,7 @@
namespace net {
namespace internal {
-typedef char* (*GetInterfaceNameFunction)(unsigned int interface_index,
- char* ifname);
+typedef char* (*GetInterfaceNameFunction)(int interface_index, char* ifname);
NET_EXPORT bool GetNetworkListImpl(
NetworkInterfaceList* networks,

Powered by Google App Engine
This is Rietveld 408576698