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
diff --git a/base/file_descriptor_shuffle.h b/base/file_descriptor_shuffle.h
index e1930352..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 @@
 
 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) {