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

Unified Diff: base/i18n/number_formatting.h

Issue 7812009: Base: Switch base_i18n to be a separate dll (component build) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/i18n/icu_util.h ('k') | base/i18n/rtl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/number_formatting.h
===================================================================
--- base/i18n/number_formatting.h (revision 97736)
+++ base/i18n/number_formatting.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/i18n/base_i18n_export.h"
#include "base/string16.h"
namespace base {
@@ -14,18 +15,18 @@
// Return a number formatted with separators in the user's locale.
// Ex: FormatNumber(1234567)
// => "1,234,567" in English, "1.234.567" in German
-string16 FormatNumber(int64 number);
+BASE_I18N_EXPORT string16 FormatNumber(int64 number);
// Return a number formatted with separators in the user's locale.
// Ex: FormatDouble(1234567.8, 1)
// => "1,234,567.8" in English, "1.234.567,8" in German
-string16 FormatDouble(double number, int fractional_digits);
+BASE_I18N_EXPORT string16 FormatDouble(double number, int fractional_digits);
namespace testing {
// Causes cached formatters to be discarded and recreated. Only useful for
// testing.
-void ResetFormatters();
+BASE_I18N_EXPORT void ResetFormatters();
} // namespace testing
« no previous file with comments | « base/i18n/icu_util.h ('k') | base/i18n/rtl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698