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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_callback.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 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "native_client/src/shared/ppapi_proxy/plugin_callback.h" 5 #include "native_client/src/shared/ppapi_proxy/plugin_callback.h"
6 #include <string.h> 6 #include <string.h>
7 #include "native_client/src/shared/ppapi_proxy/utility.h" 7 #include "native_client/src/shared/ppapi_proxy/utility.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "srpcgen/ppp_rpc.h" 9 #include "srpcgen/ppp_rpc.h"
10 10
11 namespace ppapi_proxy { 11 namespace ppapi_proxy {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 callback_id); 86 callback_id);
87 return; 87 return;
88 } 88 }
89 89
90 if (user_buffer != NULL && read_buffer_size > 0) 90 if (user_buffer != NULL && read_buffer_size > 0)
91 memcpy(user_buffer, read_buffer, read_buffer_size); 91 memcpy(user_buffer, read_buffer, read_buffer_size);
92 PP_RunCompletionCallback(&callback, result); 92 PP_RunCompletionCallback(&callback, result);
93 93
94 rpc->result = NACL_SRPC_RESULT_OK; 94 rpc->result = NACL_SRPC_RESULT_OK;
95 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698