| 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 COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ |
| 6 #define COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ | 6 #define COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
| 11 #include "ipc/ipc_platform_file.h" | 14 #include "ipc/ipc_platform_file.h" |
| 12 #include "ipc/message_filter.h" | 15 #include "ipc/message_filter.h" |
| 13 #include "ppapi/c/pp_bool.h" | 16 #include "ppapi/c/pp_bool.h" |
| 14 #include "ppapi/c/pp_instance.h" | 17 #include "ppapi/c/pp_instance.h" |
| 15 #include "ppapi/c/private/pp_file_handle.h" | 18 #include "ppapi/c/private/pp_file_handle.h" |
| 16 | 19 |
| 17 namespace base { | 20 namespace base { |
| 18 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
| 19 } | 22 } |
| 20 | 23 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 71 |
| 69 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 72 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
| 70 | 73 |
| 71 // Should be accessed on the io thread. | 74 // Should be accessed on the io thread. |
| 72 IPC::Sender* sender_; | 75 IPC::Sender* sender_; |
| 73 CacheRequestInfoMap pending_cache_requests_; | 76 CacheRequestInfoMap pending_cache_requests_; |
| 74 DISALLOW_COPY_AND_ASSIGN(PnaclTranslationResourceHost); | 77 DISALLOW_COPY_AND_ASSIGN(PnaclTranslationResourceHost); |
| 75 }; | 78 }; |
| 76 | 79 |
| 77 #endif // COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ | 80 #endif // COMPONENTS_NACL_RENDERER_PNACL_TRANSLATION_RESOURCE_HOST_H_ |
| OLD | NEW |