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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h

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/trusted/srpcgen/ppb_rpc.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h b/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
index aca8ace7de9d27cd4d2c1cb3cab49915926f8257..bde42e8c54c46f7dbf1a33d6a226a4e19fa3734c 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
@@ -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.
//
@@ -25,13 +25,13 @@ class NaClFileRpcServer {
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
PP_Instance instance,
- char* url,
+ const char* url,
int32_t callback_id);
static void GetFileDesc(
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
PP_Instance instance,
- char* url,
+ const char* url,
NaClSrpcImcDescType* file_desc);
private:
@@ -45,7 +45,7 @@ class PpbRpcServer {
static void PPB_GetInterface(
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
- char* interface_name,
+ const char* interface_name,
int32_t* exports_interface_name);
private:
@@ -941,7 +941,7 @@ class PpbTCPSocketPrivateRpcServer {
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
PP_Resource tcp_socket,
- char* host,
+ const char* host,
int32_t port,
int32_t callback_id,
int32_t* pp_error);
@@ -968,7 +968,7 @@ class PpbTCPSocketPrivateRpcServer {
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
PP_Resource tcp_socket,
- char* server_name,
+ const char* server_name,
int32_t server_port,
int32_t callback_id,
int32_t* pp_error);

Powered by Google App Engine
This is Rietveld 408576698