Base: Switch base_i18n to be a separate dll (component build)

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7812009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99057 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: c743d4c75d3ea1dbe52a943514c8c152b0a5cc39
diff --git a/base/i18n/time_formatting.h b/base/i18n/time_formatting.h
index 85c0169..3c2c5b1 100644
--- a/base/i18n/time_formatting.h
+++ b/base/i18n/time_formatting.h
@@ -9,6 +9,7 @@
 #define BASE_I18N_TIME_FORMATTING_H_
 #pragma once
 
+#include "base/i18n/base_i18n_export.h"
 #include "base/string16.h"
 
 namespace base {
@@ -28,37 +29,38 @@
 };
 
 // Returns the time of day, e.g., "3:07 PM".
-string16 TimeFormatTimeOfDay(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatTimeOfDay(const Time& time);
 
 // Returns the time of day in the specified hour clock type. e.g.
 // "3:07 PM" (type == k12HourClock, ampm == kKeepAmPm).
 // "3:07"    (type == k12HourClock, ampm == kDropAmPm).
 // "15:07"   (type == k24HourClock).
-string16 TimeFormatTimeOfDayWithHourClockType(const Time& time,
-                                              HourClockType type,
-                                              AmPmClockType ampm);
+BASE_I18N_EXPORT string16 TimeFormatTimeOfDayWithHourClockType(
+    const Time& time,
+    HourClockType type,
+    AmPmClockType ampm);
 
 // Returns a shortened date, e.g. "Nov 7, 2007"
-string16 TimeFormatShortDate(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatShortDate(const Time& time);
 
 // Returns a numeric date such as 12/13/52.
-string16 TimeFormatShortDateNumeric(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatShortDateNumeric(const Time& time);
 
 // Returns a numeric date and time such as "12/13/52 2:44:30 PM".
-string16 TimeFormatShortDateAndTime(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatShortDateAndTime(const Time& time);
 
 // Formats a time in a friendly sentence format, e.g.
 // "Monday, March 6, 2008 2:44:30 PM".
-string16 TimeFormatFriendlyDateAndTime(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatFriendlyDateAndTime(const Time& time);
 
 // Formats a time in a friendly sentence format, e.g.
 // "Monday, March 6, 2008".
-string16 TimeFormatFriendlyDate(const Time& time);
+BASE_I18N_EXPORT string16 TimeFormatFriendlyDate(const Time& time);
 
 // Gets the hour clock type of the current locale. e.g.
 // k12HourClock (en-US).
 // k24HourClock (en-GB).
-HourClockType GetHourClockType();
+BASE_I18N_EXPORT HourClockType GetHourClockType();
 
 }  // namespace base