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

Unified Diff: src/trusted/plugin/string_encoding.cc

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 months 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 | « src/trusted/plugin/string_encoding.h ('k') | src/trusted/plugin/string_encoding_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/string_encoding.cc
===================================================================
--- src/trusted/plugin/string_encoding.cc (revision 2712)
+++ src/trusted/plugin/string_encoding.cc (working copy)
@@ -4,9 +4,8 @@
* be found in the LICENSE file.
*/
-#include "native_client/src/trusted/plugin/srpc/string_encoding.h"
-
#include "native_client/src/include/nacl_platform.h"
+#include "native_client/src/trusted/plugin/string_encoding.h"
namespace plugin {
@@ -27,7 +26,7 @@
return false;
}
char* dest_ptr = output;
- for(size_t i = 0; i < input_byte_count; i++) {
+ for (size_t i = 0; i < input_byte_count; i++) {
unsigned char ch = input[i];
if (ch < 128) {
// Code results in a one byte encoding.
@@ -53,7 +52,7 @@
}
char* dest_ptr = output;
size_t i;
- for(i = 0; i < input_byte_count; ) {
+ for (i = 0; i < input_byte_count; ) {
unsigned char ch = input[i];
if ((ch & 0x80) == 0) {
// One byte encoding.
Property changes on: src/trusted/plugin/string_encoding.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « src/trusted/plugin/string_encoding.h ('k') | src/trusted/plugin/string_encoding_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698