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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc

Issue 9119001: srpcgen: Use 'const char*' for string parameters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased; update year in copyright header srpcgen emits Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc
index 27dc2e17a35c0daddd9ff4d04711cd347cc5bc8a..636aee16f358f564608ec6e2340e6f52578feaef 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -43,7 +43,7 @@ NaClSrpcError PppRpcClient::PPP_InitializeModule(
int32_t pid,
PP_Module module,
NaClSrpcImcDescType upcall_channel_desc,
- char* service_description,
+ const char* service_description,
int32_t* nacl_pid,
int32_t* success) {
NaClSrpcError retval;
@@ -72,7 +72,7 @@ NaClSrpcError PppRpcClient::PPP_ShutdownModule(
NaClSrpcError PppRpcClient::PPP_GetInterface(
NaClSrpcChannel* channel,
- char* interface_name,
+ const char* interface_name,
int32_t* exports_interface_name) {
NaClSrpcError retval;
retval = NaClSrpcInvokeBySignature(

Powered by Google App Engine
This is Rietveld 408576698