Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: webkit/plugins/npapi/plugin_string_stream.h

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/npapi/plugin_stream_win.cc ('k') | webkit/plugins/npapi/plugin_string_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 WEBKIT_GLUE_PLUGIN_PLUGIN_STRING_STREAM_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_STRING_STREAM_H_
6 #define WEBKIT_GLUE_PLUGIN_PLUGIN_STRING_STREAM_H_ 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_STRING_STREAM_H_
7 7
8 #include "webkit/glue/plugins/plugin_stream.h" 8 #include "webkit/plugins/npapi/plugin_stream.h"
9 9
10 class GURL; 10 class GURL;
11 11
12 namespace NPAPI { 12 namespace webkit {
13 namespace npapi {
13 14
14 class PluginInstance; 15 class PluginInstance;
15 16
16 // An NPAPI stream from a string. 17 // An NPAPI stream from a string.
17 class PluginStringStream : public PluginStream { 18 class PluginStringStream : public PluginStream {
18 public: 19 public:
19 // Create a new stream for sending to the plugin. 20 // Create a new stream for sending to the plugin.
20 // If notify_needed, will notify the plugin after the data has 21 // If notify_needed, will notify the plugin after the data has
21 // all been sent. 22 // all been sent.
22 PluginStringStream(PluginInstance* instance, 23 PluginStringStream(PluginInstance* instance,
23 const GURL& url, 24 const GURL& url,
24 bool notify_needed, 25 bool notify_needed,
25 void* notify_data); 26 void* notify_data);
26 27
27 // Initiates the sending of data to the plugin. 28 // Initiates the sending of data to the plugin.
28 void SendToPlugin(const std::string& data, 29 void SendToPlugin(const std::string& data,
29 const std::string& mime_type); 30 const std::string& mime_type);
30 31
31 private: 32 private:
32 virtual ~PluginStringStream(); 33 virtual ~PluginStringStream();
33 34
34 DISALLOW_COPY_AND_ASSIGN(PluginStringStream); 35 DISALLOW_COPY_AND_ASSIGN(PluginStringStream);
35 }; 36 };
36 37
37 } // namespace NPAPI
38 38
39 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_STRING_STREAM_H_ 39 } // namespace npapi
40 } // namespace webkit
41
42 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_STRING_STREAM_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_stream_win.cc ('k') | webkit/plugins/npapi/plugin_string_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698