diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 20:45:22 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 20:45:22 +0000 |
commit | 91d91fac1db8f2f163e4873bd93a65f4fada37ee (patch) | |
tree | a128f7ef2b816771bc0a69fa025350992c4ba5b9 /base/file_descriptor_shuffle.h | |
parent | 666f40f61545af4f8f52d964c341d01630a352cd (diff) | |
download | chromium_src-91d91fac1db8f2f163e4873bd93a65f4fada37ee.zip chromium_src-91d91fac1db8f2f163e4873bd93a65f4fada37ee.tar.gz chromium_src-91d91fac1db8f2f163e4873bd93a65f4fada37ee.tar.bz2 |
linux: components support for base/
This builds base_unittests using libbase as a component.
Review URL: http://codereview.chromium.org/6904109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_descriptor_shuffle.h')
-rw-r--r-- | base/file_descriptor_shuffle.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/base/file_descriptor_shuffle.h b/base/file_descriptor_shuffle.h index e193035..0a649fa 100644 --- a/base/file_descriptor_shuffle.h +++ b/base/file_descriptor_shuffle.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 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. @@ -24,6 +24,8 @@ #include <vector> +#include "base/base_api.h" + namespace base { // A Delegate which performs the actions required to perform an injective @@ -67,11 +69,11 @@ struct InjectionArc { typedef std::vector<InjectionArc> InjectiveMultimap; -bool PerformInjectiveMultimap(const InjectiveMultimap& map, - InjectionDelegate* delegate); +BASE_API bool PerformInjectiveMultimap(const InjectiveMultimap& map, + InjectionDelegate* delegate); -bool PerformInjectiveMultimapDestructive(InjectiveMultimap* map, - InjectionDelegate* delegate); +BASE_API bool PerformInjectiveMultimapDestructive(InjectiveMultimap* map, + InjectionDelegate* delegate); // This function will not call malloc but will mutate |map| static inline bool ShuffleFileDescriptors(InjectiveMultimap* map) { |