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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_nacl_file.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/include/nacl_macros.h" 7 #include "native_client/src/include/nacl_macros.h"
8 #include "native_client/src/shared/ppapi_proxy/plugin_callback.h" 8 #include "native_client/src/shared/ppapi_proxy/plugin_callback.h"
9 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" 9 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
10 #include "native_client/src/shared/ppapi_proxy/plugin_nacl_file.h" 10 #include "native_client/src/shared/ppapi_proxy/plugin_nacl_file.h"
11 #include "native_client/src/shared/ppapi_proxy/utility.h" 11 #include "native_client/src/shared/ppapi_proxy/utility.h"
12 #include "native_client/src/shared/srpc/nacl_srpc.h" 12 #include "native_client/src/shared/srpc/nacl_srpc.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 NaClSrpcError srpc_result = NaClFileRpcClient::GetFileDesc( 44 NaClSrpcError srpc_result = NaClFileRpcClient::GetFileDesc(
45 GetMainSrpcChannel(), instance, const_cast<char*>(url), &file_desc); 45 GetMainSrpcChannel(), instance, const_cast<char*>(url), &file_desc);
46 DebugPrintf("NaClFile::GetFileDesc: %s\n", NaClSrpcErrorString(srpc_result)); 46 DebugPrintf("NaClFile::GetFileDesc: %s\n", NaClSrpcErrorString(srpc_result));
47 47
48 if (srpc_result == NACL_SRPC_RESULT_OK) 48 if (srpc_result == NACL_SRPC_RESULT_OK)
49 return file_desc; 49 return file_desc;
50 return NACL_NO_FILE_DESC; 50 return NACL_NO_FILE_DESC;
51 } 51 }
52 52
53 } // namespace ppapi_proxy 53 } // namespace ppapi_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698