summaryrefslogtreecommitdiffstats
path: root/base/utf_string_conversion_utils.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-21 22:22:10 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-21 22:22:10 +0000
commit23bb71fb2a8d32adb4f5d9baf36a6b17c2111fa9 (patch)
tree39abb0de36acc80ae452d45d57504242d980536e /base/utf_string_conversion_utils.h
parent25b63dbaa7974ee2f62928790139611adfae1bad (diff)
downloadchromium_src-23bb71fb2a8d32adb4f5d9baf36a6b17c2111fa9.zip
chromium_src-23bb71fb2a8d32adb4f5d9baf36a6b17c2111fa9.tar.gz
chromium_src-23bb71fb2a8d32adb4f5d9baf36a6b17c2111fa9.tar.bz2
Base: More adjustments to BASE_API and project dependencies to
use base.dll from chrome. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6877053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_string_conversion_utils.h')
-rw-r--r--base/utf_string_conversion_utils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/utf_string_conversion_utils.h b/base/utf_string_conversion_utils.h
index a34c9ae..baa7b5c 100644
--- a/base/utf_string_conversion_utils.h
+++ b/base/utf_string_conversion_utils.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.
@@ -8,6 +8,7 @@
// This should only be used by the various UTF string conversion files.
+#include "base/base_api.h"
#include "base/string16.h"
namespace base {
@@ -60,7 +61,8 @@ bool ReadUnicodeCharacter(const wchar_t* src,
// Appends a UTF-8 character to the given 8-bit string. Returns the number of
// bytes written.
-size_t WriteUnicodeCharacter(uint32 code_point, std::string* output);
+// TODO(brettw) Bug 79631: This function should not be exposed.
+BASE_API size_t WriteUnicodeCharacter(uint32 code_point, std::string* output);
// Appends the given code point as a UTF-16 character to the given 16-bit
// string. Returns the number of 16-bit values written.