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

Side by Side Diff: ppapi/shared_impl/ppb_char_set_shared.h

Issue 8824015: Revert 113290 - Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/ppb_audio_shared.cc ('k') | ppapi/shared_impl/ppb_char_set_shared.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_
7
8 #include "base/basictypes.h"
9 #include "ppapi/c/dev/ppb_char_set_dev.h"
10 #include "ppapi/shared_impl/ppapi_shared_export.h"
11
12 namespace ppapi {
13
14 // Contains the implementation of character set conversion that is shared
15 // between the proxy and the renderer.
16 class PPAPI_SHARED_EXPORT PPB_CharSet_Shared {
17 public:
18 static char* UTF16ToCharSet(const uint16_t* utf16,
19 uint32_t utf16_len,
20 const char* output_char_set,
21 PP_CharSet_ConversionError on_error,
22 uint32_t* output_length);
23
24 static uint16_t* CharSetToUTF16(const char* input,
25 uint32_t input_len,
26 const char* input_char_set,
27 PP_CharSet_ConversionError on_error,
28 uint32_t* output_length);
29 };
30
31 } // namespace ppapi
32
33 #endif // PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_audio_shared.cc ('k') | ppapi/shared_impl/ppb_char_set_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698