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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_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/ppp_rpc.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h
index 8bd2e806323ede5d4e70bdcae5d954b5e6ae6da6..c613a3c705803c5e9aef9abb05dfcf62a2f6c58e 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_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.
//
@@ -42,7 +42,7 @@ class PppRpcServer {
int32_t pid,
PP_Module module,
NaClSrpcImcDescType upcall_channel_desc,
- char* service_description,
+ const char* service_description,
int32_t* nacl_pid,
int32_t* success);
static void PPP_ShutdownModule(
@@ -51,7 +51,7 @@ class PppRpcServer {
static void PPP_GetInterface(
NaClSrpcRpc* rpc,
NaClSrpcClosure* done,
- char* interface_name,
+ const char* interface_name,
int32_t* exports_interface_name);
private:

Powered by Google App Engine
This is Rietveld 408576698