| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHARED_IMPL_VAR_TRACKER_H_ | 5 #ifndef PPAPI_SHARED_IMPL_VAR_TRACKER_H_ |
| 6 #define PPAPI_SHARED_IMPL_VAR_TRACKER_H_ | 6 #define PPAPI_SHARED_IMPL_VAR_TRACKER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/shared_memory.h" | 14 #include "base/shared_memory.h" |
| 15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "ppapi/c/pp_instance.h" | 16 #include "ppapi/c/pp_instance.h" |
| 17 #include "ppapi/c/pp_module.h" | 17 #include "ppapi/c/pp_module.h" |
| 18 #include "ppapi/c/pp_resource.h" | 18 #include "ppapi/c/pp_resource.h" |
| 19 #include "ppapi/c/pp_var.h" | 19 #include "ppapi/c/pp_var.h" |
| 20 #include "ppapi/shared_impl/host_resource.h" | 20 #include "ppapi/shared_impl/host_resource.h" |
| 21 #include "ppapi/shared_impl/ppapi_shared_export.h" | 21 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // other threads (especially the IO thread). On the plugin side, the tracker | 206 // other threads (especially the IO thread). On the plugin side, the tracker |
| 207 // is protected by the proxy lock and is thread-safe, so this will be NULL. | 207 // is protected by the proxy lock and is thread-safe, so this will be NULL. |
| 208 scoped_ptr<base::ThreadChecker> thread_checker_; | 208 scoped_ptr<base::ThreadChecker> thread_checker_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(VarTracker); | 210 DISALLOW_COPY_AND_ASSIGN(VarTracker); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 } // namespace ppapi | 213 } // namespace ppapi |
| 214 | 214 |
| 215 #endif // PPAPI_SHARED_IMPL_VAR_TRACKER_H_ | 215 #endif // PPAPI_SHARED_IMPL_VAR_TRACKER_H_ |
| OLD | NEW |