summaryrefslogtreecommitdiffstats
path: root/base/linux_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
commit68a008e82da08b0bf7d421049f0a292b99b88048 (patch)
treec8877946ba313e24f2de3903f48994c0d1d29d70 /base/linux_util.h
parent4d223f42c722674ae0a5f56cf9ac277fa9f52b9c (diff)
downloadchromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.zip
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.gz
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.bz2
linux: components build
Reapply r83630, r83629, r83583, and fix the one compile error. TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r--base/linux_util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/linux_util.h b/base/linux_util.h
index c1135ce..0e079d7 100644
--- a/base/linux_util.h
+++ b/base/linux_util.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.
@@ -11,6 +11,8 @@
#include <string>
+#include "base/base_api.h"
+
namespace base {
static const char kFindInodeSwitch[] = "--find-inode";
@@ -26,7 +28,7 @@ std::string GetLinuxDistro();
void SetLinuxDistro(const std::string& distro);
// Return the inode number for the UNIX domain socket |fd|.
-bool FileDescriptorGetInode(ino_t* inode_out, int fd);
+BASE_API bool FileDescriptorGetInode(ino_t* inode_out, int fd);
// Find the process which holds the given socket, named by inode number. If
// multiple processes hold the socket, this function returns false.