| 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_TEMPORARY_FILE_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
| 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ | 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 10 #include "native_client/src/include/nacl_macros.h" | 13 #include "native_client/src/include/nacl_macros.h" |
| 11 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 14 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
| 12 | 15 |
| 13 #include "ppapi/c/private/pp_file_handle.h" | 16 #include "ppapi/c/private/pp_file_handle.h" |
| 14 | 17 |
| 15 namespace plugin { | 18 namespace plugin { |
| 16 | 19 |
| 17 class Plugin; | 20 class Plugin; |
| 18 | 21 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 68 |
| 66 Plugin* plugin_; | 69 Plugin* plugin_; |
| 67 scoped_ptr<nacl::DescWrapper> read_wrapper_; | 70 scoped_ptr<nacl::DescWrapper> read_wrapper_; |
| 68 scoped_ptr<nacl::DescWrapper> write_wrapper_; | 71 scoped_ptr<nacl::DescWrapper> write_wrapper_; |
| 69 base::File file_handle_; | 72 base::File file_handle_; |
| 70 }; | 73 }; |
| 71 | 74 |
| 72 } // namespace plugin | 75 } // namespace plugin |
| 73 | 76 |
| 74 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ | 77 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_TEMPORARY_FILE_H_ |
| OLD | NEW |