diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 23:54:11 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 23:54:11 +0000 |
commit | afedf0168c27568034e6fe98eb4b573a36469f98 (patch) | |
tree | cdc66ea0eac9f20127f347c2bca26a192871b0f7 /base/linux_util.h | |
parent | effa399e47e7095faa32f6815494b01f02b2e0e7 (diff) | |
download | chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.zip chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.gz chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.bz2 |
linux components: expose more BASE_API used by Chrome itself
Review URL: http://codereview.chromium.org/6902177
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r-- | base/linux_util.h | 6 |
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. |