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

Side by Side Diff: webkit/glue/webplugin.h

Issue 14122: Handle HTTP 200 responses received in response to byte range requests issued... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webplugin_impl.h » ('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_WEBPLUGIN_H__ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
6 #define WEBKIT_GLUE_WEBPLUGIN_H__ 6 #define WEBKIT_GLUE_WEBPLUGIN_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 private: 142 private:
143 DISALLOW_EVIL_CONSTRUCTORS(WebPlugin); 143 DISALLOW_EVIL_CONSTRUCTORS(WebPlugin);
144 }; 144 };
145 145
146 // Simpler version of ResourceHandleClient that lends itself to proxying. 146 // Simpler version of ResourceHandleClient that lends itself to proxying.
147 class WebPluginResourceClient { 147 class WebPluginResourceClient {
148 public: 148 public:
149 virtual ~WebPluginResourceClient() {} 149 virtual ~WebPluginResourceClient() {}
150 virtual void WillSendRequest(const GURL& url) = 0; 150 virtual void WillSendRequest(const GURL& url) = 0;
151 // The request_is_seekable parameter indicates whether byte range requests
152 // can be issued for the underlying stream.
151 virtual void DidReceiveResponse(const std::string& mime_type, 153 virtual void DidReceiveResponse(const std::string& mime_type,
152 const std::string& headers, 154 const std::string& headers,
153 uint32 expected_length, 155 uint32 expected_length,
154 uint32 last_modified, 156 uint32 last_modified,
157 bool request_is_seekable,
155 bool* cancel) = 0; 158 bool* cancel) = 0;
156 virtual void DidReceiveData(const char* buffer, int length, 159 virtual void DidReceiveData(const char* buffer, int length,
157 int data_offset) = 0; 160 int data_offset) = 0;
158 virtual void DidFinishLoading() = 0; 161 virtual void DidFinishLoading() = 0;
159 virtual void DidFail() = 0; 162 virtual void DidFail() = 0;
163 virtual bool IsMultiByteResponseExpected() = 0;
160 }; 164 };
161 165
162 166
163 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__ 167 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
164 168
OLDNEW
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698