| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ |
| 6 #define PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ | 6 #define PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <set> | 11 #include <set> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 14 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
| 15 #include "ppapi/proxy/ppapi_proxy_export.h" | 17 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 16 | 18 |
| 17 | 19 |
| 18 namespace base { | 20 namespace base { |
| 19 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
| 20 } | 22 } |
| 21 | 23 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 ResourceMap map_; | 69 ResourceMap map_; |
| 68 scoped_refptr<base::SingleThreadTaskRunner> main_thread_; | 70 scoped_refptr<base::SingleThreadTaskRunner> main_thread_; |
| 69 | 71 |
| 70 DISALLOW_COPY_AND_ASSIGN(ResourceReplyThreadRegistrar); | 72 DISALLOW_COPY_AND_ASSIGN(ResourceReplyThreadRegistrar); |
| 71 }; | 73 }; |
| 72 | 74 |
| 73 } // namespace proxy | 75 } // namespace proxy |
| 74 } // namespace ppapi | 76 } // namespace ppapi |
| 75 | 77 |
| 76 #endif // PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ | 78 #endif // PPAPI_PROXY_RESOURCE_REPLY_THREAD_REGISTRAR_H_ |
| OLD | NEW |