| 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 WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 bool notify_needed_; | 139 bool notify_needed_; |
| 140 void* notify_data_; | 140 void* notify_data_; |
| 141 bool close_on_write_data_; | 141 bool close_on_write_data_; |
| 142 uint16 requested_plugin_mode_; | 142 uint16 requested_plugin_mode_; |
| 143 bool opened_; | 143 bool opened_; |
| 144 #if defined(OS_WIN) | 144 #if defined(OS_WIN) |
| 145 char temp_file_name_[MAX_PATH]; | 145 char temp_file_name_[MAX_PATH]; |
| 146 HANDLE temp_file_handle_; | 146 HANDLE temp_file_handle_; |
| 147 #elif defined(OS_POSIX) | 147 #elif defined(OS_POSIX) |
| 148 FILE* temp_file_; | 148 FILE* temp_file_; |
| 149 FilePath temp_file_path_; | 149 base::FilePath temp_file_path_; |
| 150 #endif | 150 #endif |
| 151 std::vector<char> delivery_data_; | 151 std::vector<char> delivery_data_; |
| 152 int data_offset_; | 152 int data_offset_; |
| 153 bool seekable_stream_; | 153 bool seekable_stream_; |
| 154 std::string mime_type_; | 154 std::string mime_type_; |
| 155 DISALLOW_COPY_AND_ASSIGN(PluginStream); | 155 DISALLOW_COPY_AND_ASSIGN(PluginStream); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace npapi | 158 } // namespace npapi |
| 159 } // namespace webkit | 159 } // namespace webkit |
| 160 | 160 |
| 161 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ | 161 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_H_ |
| OLD | NEW |