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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_callback.h

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 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_ 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_ 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include <map> 9 #include <map>
10 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" 10 #include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
11 #include "ppapi/c/pp_completion_callback.h" 11 #include "ppapi/c/pp_completion_callback.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 class CallbackTableCriticalSection { 56 class CallbackTableCriticalSection {
57 public: 57 public:
58 CallbackTableCriticalSection() { pthread_mutex_lock(&mutex_); } 58 CallbackTableCriticalSection() { pthread_mutex_lock(&mutex_); }
59 ~CallbackTableCriticalSection() { pthread_mutex_unlock(&mutex_); } 59 ~CallbackTableCriticalSection() { pthread_mutex_unlock(&mutex_); }
60 }; 60 };
61 }; 61 };
62 62
63 } // namespace ppapi_proxy 63 } // namespace ppapi_proxy
64 64
65 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_ 65 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CALLBACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698