| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ | 5 #ifndef CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ |
| 6 #define CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ | 6 #define CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ |
| 7 | 7 |
| 8 #include "content/child/npapi/plugin_stream.h" | 8 #include "content/child/npapi/plugin_stream.h" |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 PluginStringStream(PluginInstance* instance, | 22 PluginStringStream(PluginInstance* instance, |
| 23 const GURL& url, | 23 const GURL& url, |
| 24 bool notify_needed, | 24 bool notify_needed, |
| 25 void* notify_data); | 25 void* notify_data); |
| 26 | 26 |
| 27 // Initiates the sending of data to the plugin. | 27 // Initiates the sending of data to the plugin. |
| 28 void SendToPlugin(const std::string& data, | 28 void SendToPlugin(const std::string& data, |
| 29 const std::string& mime_type); | 29 const std::string& mime_type); |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 virtual ~PluginStringStream(); | 32 ~PluginStringStream() override; |
| 33 | 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(PluginStringStream); | 34 DISALLOW_COPY_AND_ASSIGN(PluginStringStream); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 | 37 |
| 38 } // namespace content | 38 } // namespace content |
| 39 | 39 |
| 40 #endif // CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ | 40 #endif // CONTENT_CHILD_PLUGIN_STRING_STREAM_H_ |
| OLD | NEW |