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

Side by Side Diff: components/nacl/renderer/plugin/srpc_params.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 7
8 #include "components/nacl/renderer/plugin/srpc_params.h" 8 #include "components/nacl/renderer/plugin/srpc_params.h"
9 9
10 #include <stddef.h>
11 #include <stdint.h>
10 #include <stdlib.h> 12 #include <stdlib.h>
13 #include <string.h>
11 14
12 #include "native_client/src/shared/srpc/nacl_srpc.h" 15 #include "native_client/src/shared/srpc/nacl_srpc.h"
13 16
14 17
15 namespace plugin { 18 namespace plugin {
16 19
17 namespace { 20 namespace {
18 21
19 bool FillVec(NaClSrpcArg* vec[], const char* types) { 22 bool FillVec(NaClSrpcArg* vec[], const char* types) {
20 const size_t kLength = strlen(types); 23 const size_t kLength = strlen(types);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 113 }
111 114
112 void SrpcParams::FreeAll() { 115 void SrpcParams::FreeAll() {
113 FreeArguments(ins_); 116 FreeArguments(ins_);
114 FreeArguments(outs_); 117 FreeArguments(outs_);
115 memset(ins_, 0, sizeof(ins_)); 118 memset(ins_, 0, sizeof(ins_));
116 memset(outs_, 0, sizeof(outs_)); 119 memset(outs_, 0, sizeof(outs_));
117 } 120 }
118 121
119 } // namespace plugin 122 } // namespace plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/srpc_params.h ('k') | components/nacl/renderer/plugin/temporary_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698