diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
commit | 0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch) | |
tree | eb16c01ad0143fad583cd60a87828fd90c94f61a /base/utf_offset_string_conversions.h | |
parent | 93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff) | |
download | chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2 |
Rename BASE_API to BASE_EXPORT.
R=rvargas
Review URL: http://codereview.chromium.org/7461141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_offset_string_conversions.h')
-rw-r--r-- | base/utf_offset_string_conversions.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/base/utf_offset_string_conversions.h b/base/utf_offset_string_conversions.h index 4c87f83..01177b6 100644 --- a/base/utf_offset_string_conversions.h +++ b/base/utf_offset_string_conversions.h @@ -9,7 +9,7 @@ #include <string> #include <vector> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/string16.h" namespace base { @@ -22,19 +22,19 @@ class StringPiece; // If this isn't possible because an offset points past the end of the source // strings or into the middle of a multibyte sequence, the offending offset will // be set to string16::npos. |offset[s]_for_adjustment| may be NULL. -BASE_API bool UTF8ToUTF16AndAdjustOffset(const char* src, - size_t src_len, - string16* output, - size_t* offset_for_adjustment); -BASE_API bool UTF8ToUTF16AndAdjustOffsets( +BASE_EXPORT bool UTF8ToUTF16AndAdjustOffset(const char* src, + size_t src_len, + string16* output, + size_t* offset_for_adjustment); +BASE_EXPORT bool UTF8ToUTF16AndAdjustOffsets( const char* src, size_t src_len, string16* output, std::vector<size_t>* offsets_for_adjustment); -BASE_API string16 UTF8ToUTF16AndAdjustOffset(const base::StringPiece& utf8, - size_t* offset_for_adjustment); -BASE_API string16 UTF8ToUTF16AndAdjustOffsets( +BASE_EXPORT string16 UTF8ToUTF16AndAdjustOffset(const base::StringPiece& utf8, + size_t* offset_for_adjustment); +BASE_EXPORT string16 UTF8ToUTF16AndAdjustOffsets( const base::StringPiece& utf8, std::vector<size_t>* offsets_for_adjustment); @@ -59,9 +59,9 @@ struct LimitOffset { // (each Adjustment gives the |original_offset| of a substring and the lengths // of the substring before and after transforming). When the OffsetAdjuster // goes out of scope, all the offsets in the provided vector will be updated. -class BASE_API OffsetAdjuster { +class BASE_EXPORT OffsetAdjuster { public: - struct BASE_API Adjustment { + struct BASE_EXPORT Adjustment { Adjustment(size_t original_offset, size_t original_length, size_t output_length); |