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

Side by Side Diff: content/child/npapi/plugin_stream_url.h

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 months 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 | « content/child/npapi/plugin_stream_posix.cc ('k') | content/child/npapi/plugin_stream_url.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) 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_URL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_URL_H_
scottmg 2013/07/19 02:23:46 missed updating header guard here
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_URL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_URL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/child/npapi/plugin_stream.h"
11 #include "content/child/npapi/webplugin.h"
10 #include "url/gurl.h" 12 #include "url/gurl.h"
11 #include "webkit/plugins/npapi/plugin_stream.h"
12 #include "webkit/plugins/npapi/webplugin.h"
13 13
14 namespace webkit { 14 namespace content {
15 namespace npapi {
16 15
17 class PluginInstance; 16 class PluginInstance;
18 17
19 // A NPAPI Stream based on a URL. 18 // A NPAPI Stream based on a URL.
20 class PluginStreamUrl : public PluginStream, 19 class PluginStreamUrl : public PluginStream,
21 public WebPluginResourceClient { 20 public WebPluginResourceClient {
22 public: 21 public:
23 // Create a new stream for sending to the plugin by fetching 22 // Create a new stream for sending to the plugin by fetching
24 // a URL. If notifyNeeded is set, then the plugin will be notified 23 // a URL. If notifyNeeded is set, then the plugin will be notified
25 // when the stream has been fully sent to the plugin. Initialize 24 // when the stream has been fully sent to the plugin. Initialize
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 60
62 GURL url_; 61 GURL url_;
63 unsigned long id_; 62 unsigned long id_;
64 // Ids of additional resources requested via range requests issued on 63 // Ids of additional resources requested via range requests issued on
65 // seekable streams. 64 // seekable streams.
66 std::vector<unsigned long> range_requests_; 65 std::vector<unsigned long> range_requests_;
67 66
68 DISALLOW_COPY_AND_ASSIGN(PluginStreamUrl); 67 DISALLOW_COPY_AND_ASSIGN(PluginStreamUrl);
69 }; 68 };
70 69
71 } // namespace npapi 70 } // namespace content
72 } // namespace webkit
73 71
74 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_URL_H_ 72 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_STREAM_URL_H_
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_stream_posix.cc ('k') | content/child/npapi/plugin_stream_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698