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_HOST_RESOURCE_MESSAGE_FILTER_H_ | 5 #ifndef PPAPI_HOST_RESOURCE_MESSAGE_FILTER_H_ |
6 #define PPAPI_HOST_RESOURCE_MESSAGE_FILTER_H_ | 6 #define PPAPI_HOST_RESOURCE_MESSAGE_FILTER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/pp_stdint.h" | 10 #include "ppapi/c/pp_stdint.h" |
10 #include "ppapi/host/host_message_context.h" | 11 #include "ppapi/host/host_message_context.h" |
11 #include "ppapi/host/ppapi_host_export.h" | 12 #include "ppapi/host/ppapi_host_export.h" |
12 #include "ppapi/host/resource_message_handler.h" | 13 #include "ppapi/host/resource_message_handler.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
16 class TaskRunner; | 17 class TaskRunner; |
17 } | 18 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 // is destroyed, |OnFilterDestroyed| is called and this will be set to NULL. | 140 // is destroyed, |OnFilterDestroyed| is called and this will be set to NULL. |
140 ResourceHost* resource_host_; | 141 ResourceHost* resource_host_; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 143 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace host | 146 } // namespace host |
146 } // namespace ppapi | 147 } // namespace ppapi |
147 | 148 |
148 #endif // PPAPI_HOST_RESOURCE_MESSAGE_FILTER_H_ | 149 #endif // PPAPI_HOST_RESOURCE_MESSAGE_FILTER_H_ |
OLD | NEW |