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

Side by Side Diff: content/child/npapi/webplugin.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_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bool notify_redirects) = 0; 83 bool notify_redirects) = 0;
84 84
85 // Cancels document load. 85 // Cancels document load.
86 virtual void CancelDocumentLoad() = 0; 86 virtual void CancelDocumentLoad() = 0;
87 87
88 // Initiates a HTTP range request for an existing stream. 88 // Initiates a HTTP range request for an existing stream.
89 virtual void InitiateHTTPRangeRequest(const char* url, 89 virtual void InitiateHTTPRangeRequest(const char* url,
90 const char* range_info, 90 const char* range_info,
91 int range_request_id) = 0; 91 int range_request_id) = 0;
92 92
93 virtual void DidStartLoading() = 0;
94 virtual void DidStopLoading() = 0;
95
93 // Returns true iff in incognito mode. 96 // Returns true iff in incognito mode.
94 virtual bool IsOffTheRecord() = 0; 97 virtual bool IsOffTheRecord() = 0;
95 98
96 // Called when the WebPluginResourceClient instance is deleted. 99 // Called when the WebPluginResourceClient instance is deleted.
97 virtual void ResourceClientDeleted( 100 virtual void ResourceClientDeleted(
98 WebPluginResourceClient* resource_client) {} 101 WebPluginResourceClient* resource_client) {}
99 102
100 // Defers the loading of the resource identified by resource_id. This is 103 // Defers the loading of the resource identified by resource_id. This is
101 // controlled by the defer parameter. 104 // controlled by the defer parameter.
102 virtual void SetDeferResourceLoading(unsigned long resource_id, 105 virtual void SetDeferResourceLoading(unsigned long resource_id,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, 139 virtual void AcceleratedPluginAllocatedIOSurface(int32 width,
137 int32 height, 140 int32 height,
138 uint32 surface_id) = 0; 141 uint32 surface_id) = 0;
139 virtual void AcceleratedPluginSwappedIOSurface() = 0; 142 virtual void AcceleratedPluginSwappedIOSurface() = 0;
140 #endif 143 #endif
141 }; 144 };
142 145
143 } // namespace content 146 } // namespace content
144 147
145 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 148 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698