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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.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/plugin_ppp_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc
index 71837968468b30859e1b08869c4406892c7ec263..7006a05063b9731f8009e0d9ee2b1ff93a5040c3 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_rpc_server.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.
//
@@ -95,7 +95,7 @@ void PppRpcServer::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) {
NaClSrpcClosureRunner runner(done);
@@ -141,7 +141,7 @@ void PppRpcServer::PPP_ShutdownModule(NaClSrpcRpc* rpc,
void PppRpcServer::PPP_GetInterface(NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
- char* interface_name,
+ const char* interface_name,
int32_t* exports_interface_name) {
NaClSrpcClosureRunner runner(done);
rpc->result = NACL_SRPC_RESULT_APP_ERROR;

Powered by Google App Engine
This is Rietveld 408576698