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

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

Issue 159296: The IPCs for carrying data requested by plugins have been changed from synchr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 class WebPluginResourceClient { 139 class WebPluginResourceClient {
140 public: 140 public:
141 virtual ~WebPluginResourceClient() {} 141 virtual ~WebPluginResourceClient() {}
142 virtual void WillSendRequest(const GURL& url) = 0; 142 virtual void WillSendRequest(const GURL& url) = 0;
143 // The request_is_seekable parameter indicates whether byte range requests 143 // The request_is_seekable parameter indicates whether byte range requests
144 // can be issued for the underlying stream. 144 // can be issued for the underlying stream.
145 virtual void DidReceiveResponse(const std::string& mime_type, 145 virtual void DidReceiveResponse(const std::string& mime_type,
146 const std::string& headers, 146 const std::string& headers,
147 uint32 expected_length, 147 uint32 expected_length,
148 uint32 last_modified, 148 uint32 last_modified,
149 bool request_is_seekable, 149 bool request_is_seekable) = 0;
150 bool* cancel) = 0;
151 virtual void DidReceiveData(const char* buffer, int length, 150 virtual void DidReceiveData(const char* buffer, int length,
152 int data_offset) = 0; 151 int data_offset) = 0;
153 virtual void DidFinishLoading() = 0; 152 virtual void DidFinishLoading() = 0;
154 virtual void DidFail() = 0; 153 virtual void DidFail() = 0;
155 virtual bool IsMultiByteResponseExpected() = 0; 154 virtual bool IsMultiByteResponseExpected() = 0;
156 }; 155 };
157 156
158 157
159 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__ 158 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/plugin_get_javascript_url_test.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698