diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-03 22:58:45 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-03 22:58:45 +0000 |
commit | a9fedb01500f293b64cbcd18cca3d9e9c2a4adf9 (patch) | |
tree | 8b3fd6461d6c5cb4b2cdfc282b82a128eaf7c97f /net/base/network_change_notifier_netlink_linux.h | |
parent | f20ec02d4828a737b25a17188f3a216942ed9082 (diff) | |
download | chromium_src-a9fedb01500f293b64cbcd18cca3d9e9c2a4adf9.zip chromium_src-a9fedb01500f293b64cbcd18cca3d9e9c2a4adf9.tar.gz chromium_src-a9fedb01500f293b64cbcd18cca3d9e9c2a4adf9.tar.bz2 |
net: Add namespace net to network_change_notifier_netlink_linux.
BUG=64263
TEST=compiled locally and trybots
Review URL: http://codereview.chromium.org/6368066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/network_change_notifier_netlink_linux.h')
-rw-r--r-- | net/base/network_change_notifier_netlink_linux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/network_change_notifier_netlink_linux.h b/net/base/network_change_notifier_netlink_linux.h index 13abbc6..4433c01 100644 --- a/net/base/network_change_notifier_netlink_linux.h +++ b/net/base/network_change_notifier_netlink_linux.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -12,10 +12,14 @@ #include <cstddef> +namespace net { + // Returns the file descriptor if successful. Otherwise, returns -1. int InitializeNetlinkSocket(); // Returns true if a network change has been detected, otherwise returns false. bool HandleNetlinkMessage(char* buf, size_t len); +} // namespace net + #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_NETLINK_LINUX_H_ |