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

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

Issue 8849003: Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://chrome-svn/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_char_set_shared.h ('k') | ppapi/shared_impl/ppb_crypto_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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/shared_impl/ppb_char_set_shared.h" 5 #include "ppapi/shared_impl/ppb_char_set_shared.h"
6 6
7 #include "base/i18n/icu_string_conversions.h" 7 #include "base/i18n/icu_string_conversions.h"
8 #include "ppapi/c/dev/ppb_memory_dev.h" 8 #include "ppapi/c/dev/ppb_memory_dev.h"
9 #include "ppapi/thunk/thunk.h" 9 #include "ppapi/thunk/thunk.h"
10 #include "unicode/ucnv.h" 10 #include "unicode/ucnv.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 (output.size() + 1) * sizeof(uint16_t))); 145 (output.size() + 1) * sizeof(uint16_t)));
146 if (!ret_buf) 146 if (!ret_buf)
147 return NULL; 147 return NULL;
148 148
149 *output_length = static_cast<uint32_t>(output.size()); 149 *output_length = static_cast<uint32_t>(output.size());
150 memcpy(ret_buf, output.c_str(), (output.size() + 1) * sizeof(uint16_t)); 150 memcpy(ret_buf, output.c_str(), (output.size() + 1) * sizeof(uint16_t));
151 return ret_buf; 151 return ret_buf;
152 } 152 }
153 153
154 } // namespace ppapi 154 } // namespace ppapi
OLDNEW
« 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