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 COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ |
6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ | 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/nacl/renderer/ppb_nacl_private.h" | 9 #include "components/nacl/renderer/ppb_nacl_private.h" |
9 #include "native_client/src/include/nacl_macros.h" | 10 #include "native_client/src/include/nacl_macros.h" |
10 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 11 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
11 #include "ppapi/cpp/completion_callback.h" | 12 #include "ppapi/cpp/completion_callback.h" |
12 | 13 |
13 namespace plugin { | 14 namespace plugin { |
14 | 15 |
15 class Plugin; | 16 class Plugin; |
16 | 17 |
17 // PNaCl tool files / resources, which are opened by the browser. | 18 // PNaCl tool files / resources, which are opened by the browser. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 52 |
52 // The plugin requesting the resource loading. | 53 // The plugin requesting the resource loading. |
53 Plugin* plugin_; | 54 Plugin* plugin_; |
54 bool use_subzero_; | 55 bool use_subzero_; |
55 | 56 |
56 PnaclResourceEntry resources_[NUM_TYPES + 1]; | 57 PnaclResourceEntry resources_[NUM_TYPES + 1]; |
57 }; | 58 }; |
58 | 59 |
59 } // namespace plugin | 60 } // namespace plugin |
60 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ | 61 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_RESOURCES_H_ |
OLD | NEW |