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

Unified Diff: ppapi/shared_impl/ppb_char_set_shared.cc

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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 | « ppapi/shared_impl/ppb_char_set_shared.h ('k') | ppapi/shared_impl/ppb_crypto_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_char_set_shared.cc
diff --git a/ppapi/shared_impl/char_set_impl.cc b/ppapi/shared_impl/ppb_char_set_shared.cc
similarity index 88%
rename from ppapi/shared_impl/char_set_impl.cc
rename to ppapi/shared_impl/ppb_char_set_shared.cc
index c18d4c7a4d7987c1dad732c76cb411b9a83ddd03..70ecd3941efc156650b8eccf2513c658098e7499 100644
--- a/ppapi/shared_impl/char_set_impl.cc
+++ b/ppapi/shared_impl/ppb_char_set_shared.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ppapi/shared_impl/char_set_impl.h"
+#include "ppapi/shared_impl/ppb_char_set_shared.h"
#include "base/i18n/icu_string_conversions.h"
#include "ppapi/c/dev/ppb_memory_dev.h"
@@ -43,11 +43,12 @@ bool PPToBaseConversionError(PP_CharSet_ConversionError on_error,
// implementation in base, so we partially duplicate the code from
// icu_string_conversions.cc with the correct error handling setup required
// by the PPAPI interface.
-char* CharSetImpl::UTF16ToCharSet(const uint16_t* utf16,
- uint32_t utf16_len,
- const char* output_char_set,
- PP_CharSet_ConversionError on_error,
- uint32_t* output_length) {
+char* PPB_CharSet_Shared::UTF16ToCharSet(
+ const uint16_t* utf16,
+ uint32_t utf16_len,
+ const char* output_char_set,
+ PP_CharSet_ConversionError on_error,
+ uint32_t* output_length) {
if (!utf16 || !output_char_set || !output_length)
return NULL;
@@ -117,11 +118,12 @@ char* CharSetImpl::UTF16ToCharSet(const uint16_t* utf16,
}
// static
-uint16_t* CharSetImpl::CharSetToUTF16(const char* input,
- uint32_t input_len,
- const char* input_char_set,
- PP_CharSet_ConversionError on_error,
- uint32_t* output_length) {
+uint16_t* PPB_CharSet_Shared::CharSetToUTF16(
+ const char* input,
+ uint32_t input_len,
+ const char* input_char_set,
+ PP_CharSet_ConversionError on_error,
+ uint32_t* output_length) {
if (!input || !input_char_set || !output_length)
return NULL;
« no previous file with comments | « ppapi/shared_impl/ppb_char_set_shared.h ('k') | ppapi/shared_impl/ppb_crypto_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698