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 NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_TEMPORARY_FILE_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_TEMPORARY_FILE_H_ | 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
7 | 7 |
8 #include "native_client/src/include/nacl_macros.h" | 8 #include "native_client/src/include/nacl_macros.h" |
9 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 9 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
10 | 10 |
11 #include "ppapi/c/private/pp_file_handle.h" | 11 #include "ppapi/c/private/pp_file_handle.h" |
12 | 12 |
13 namespace plugin { | 13 namespace plugin { |
14 | 14 |
15 class Plugin; | 15 class Plugin; |
16 | 16 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 NACL_DISALLOW_COPY_AND_ASSIGN(TempFile); | 59 NACL_DISALLOW_COPY_AND_ASSIGN(TempFile); |
60 | 60 |
61 Plugin* plugin_; | 61 Plugin* plugin_; |
62 nacl::scoped_ptr<nacl::DescWrapper> read_wrapper_; | 62 nacl::scoped_ptr<nacl::DescWrapper> read_wrapper_; |
63 nacl::scoped_ptr<nacl::DescWrapper> write_wrapper_; | 63 nacl::scoped_ptr<nacl::DescWrapper> write_wrapper_; |
64 PP_FileHandle internal_handle_; | 64 PP_FileHandle internal_handle_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace plugin | 67 } // namespace plugin |
68 | 68 |
69 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_TEMPORARY_FILE_H_ | 69 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
OLD | NEW |