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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/untrusted/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/untrusted/srpcgen/ppb_rpc.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h
index e7d04f1bc021696f6ada6c8e6f583ebcfd3ef0ce..a209ecb9d5ce2aede36d6239c5a299cd18360149 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/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.
//
@@ -24,12 +24,12 @@ class NaClFileRpcClient {
static NaClSrpcError StreamAsFile(
NaClSrpcChannel* channel,
PP_Instance instance,
- char* url,
+ const char* url,
int32_t callback_id);
static NaClSrpcError GetFileDesc(
NaClSrpcChannel* channel,
PP_Instance instance,
- char* url,
+ const char* url,
NaClSrpcImcDescType* file_desc);
private:
@@ -42,7 +42,7 @@ class PpbRpcClient {
public:
static NaClSrpcError PPB_GetInterface(
NaClSrpcChannel* channel,
- char* interface_name,
+ const char* interface_name,
int32_t* exports_interface_name);
private:
@@ -819,7 +819,7 @@ class PpbTCPSocketPrivateRpcClient {
static NaClSrpcError PPB_TCPSocket_Private_Connect(
NaClSrpcChannel* channel,
PP_Resource tcp_socket,
- char* host,
+ const char* host,
int32_t port,
int32_t callback_id,
int32_t* pp_error);
@@ -842,7 +842,7 @@ class PpbTCPSocketPrivateRpcClient {
static NaClSrpcError PPB_TCPSocket_Private_SSLHandshake(
NaClSrpcChannel* channel,
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