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

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

Issue 23830007: Support byte range requests when routing resource requests directly through the browser process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
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 CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void DidManualLoadFail() OVERRIDE; 115 virtual void DidManualLoadFail() OVERRIDE;
116 virtual WebPluginResourceClient* CreateResourceClient( 116 virtual WebPluginResourceClient* CreateResourceClient(
117 unsigned long resource_id, const GURL& url, int notify_id) OVERRIDE; 117 unsigned long resource_id, const GURL& url, int notify_id) OVERRIDE;
118 virtual WebPluginResourceClient* CreateSeekableResourceClient( 118 virtual WebPluginResourceClient* CreateSeekableResourceClient(
119 unsigned long resource_id, int range_request_id) OVERRIDE; 119 unsigned long resource_id, int range_request_id) OVERRIDE;
120 virtual void FetchURL(unsigned long resource_id, 120 virtual void FetchURL(unsigned long resource_id,
121 int notify_id, 121 int notify_id,
122 const GURL& url, 122 const GURL& url,
123 const GURL& first_party_for_cookies, 123 const GURL& first_party_for_cookies,
124 const std::string& method, 124 const std::string& method,
125 const std::string& post_data, 125 const char* buf,
126 unsigned int len,
126 const GURL& referrer, 127 const GURL& referrer,
127 bool notify_redirects, 128 bool notify_redirects,
128 bool is_plugin_src_load, 129 bool is_plugin_src_load,
129 int origin_pid, 130 int origin_pid,
130 int render_view_id) OVERRIDE; 131 int render_view_id) OVERRIDE;
131 // End of WebPluginDelegate implementation. 132 // End of WebPluginDelegate implementation.
132 133
133 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } 134 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; }
134 bool IsWindowless() const { return windowless_; } 135 bool IsWindowless() const { return windowless_; }
135 PluginInstance* instance() { return instance_.get(); } 136 PluginInstance* instance() { return instance_.get(); }
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 492
492 // True if NPP_New did not return an error. 493 // True if NPP_New did not return an error.
493 bool creation_succeeded_; 494 bool creation_succeeded_;
494 495
495 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 496 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
496 }; 497 };
497 498
498 } // namespace content 499 } // namespace content
499 500
500 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 501 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698