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

Unified Diff: base/linux_util.h

Issue 6902177: linux components: expose more BASE_API used by Chrome itself (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyrights Created 9 years, 8 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
« no previous file with comments | « base/global_descriptors_posix.h ('k') | base/process_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/linux_util.h
diff --git a/base/linux_util.h b/base/linux_util.h
index c1135cec5cfdbdeaeae83108921f471716f4f501..0e079d787cf4079ca114e060f69707e9700d4501 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.
« no previous file with comments | « base/global_descriptors_posix.h ('k') | base/process_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698