summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/char_set_impl.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 04:54:31 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 04:54:31 +0000
commit8d770e49e726ba87cb5b91b2cbf760c57e3f0f68 (patch)
tree0453c90403154a9f001b426a36b1b4d0f98c90ef /ppapi/shared_impl/char_set_impl.h
parent2cb3e6c67ad02e3bf137f74493d28f74ca772527 (diff)
downloadchromium_src-8d770e49e726ba87cb5b91b2cbf760c57e3f0f68.zip
chromium_src-8d770e49e726ba87cb5b91b2cbf760c57e3f0f68.tar.gz
chromium_src-8d770e49e726ba87cb5b91b2cbf760c57e3f0f68.tar.bz2
Convert the charset, memory, and crypto interfaces to use the thunk system.
This removes a bunch of plumbing for the proxy and impl sides, and uses the new macro system for registering the interface. This saves a lot of code and a bunch of boilerplate files could be deleted. Review URL: http://codereview.chromium.org/8159003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/char_set_impl.h')
-rw-r--r--ppapi/shared_impl/char_set_impl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ppapi/shared_impl/char_set_impl.h b/ppapi/shared_impl/char_set_impl.h
index d52e246..e6f5c10 100644
--- a/ppapi/shared_impl/char_set_impl.h
+++ b/ppapi/shared_impl/char_set_impl.h
@@ -9,23 +9,19 @@
#include "ppapi/c/dev/ppb_char_set_dev.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
-struct PPB_Memory_Dev;
-
namespace ppapi {
// Contains the implementation of character set conversion that is shared
// between the proxy and the renderer.
class PPAPI_SHARED_EXPORT CharSetImpl {
public:
- static char* UTF16ToCharSet(const PPB_Memory_Dev* memory,
- const uint16_t* utf16,
+ static char* UTF16ToCharSet(const uint16_t* utf16,
uint32_t utf16_len,
const char* output_char_set,
PP_CharSet_ConversionError on_error,
uint32_t* output_length);
- static uint16_t* CharSetToUTF16(const PPB_Memory_Dev* memory,
- const char* input,
+ static uint16_t* CharSetToUTF16(const char* input,
uint32_t input_len,
const char* input_char_set,
PP_CharSet_ConversionError on_error,