| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 // Ignore in-process plugins mode for this flag. | 223 // Ignore in-process plugins mode for this flag. |
| 224 bool IsOffTheRecord() { return false; } | 224 bool IsOffTheRecord() { return false; } |
| 225 | 225 |
| 226 // Handles HTTP multipart responses, i.e. responses received with a HTTP | 226 // Handles HTTP multipart responses, i.e. responses received with a HTTP |
| 227 // status code of 206. | 227 // status code of 206. |
| 228 void HandleHttpMultipartResponse(const WebKit::WebURLResponse& response, | 228 void HandleHttpMultipartResponse(const WebKit::WebURLResponse& response, |
| 229 WebPluginResourceClient* client); | 229 WebPluginResourceClient* client); |
| 230 | 230 |
| 231 void HandleURLRequestInternal(const char* url, | 231 void HandleURLRequestInternal(const char* url, |
| 232 const char *method, | 232 const char* method, |
| 233 const char* target, | 233 const char* target, |
| 234 const char* buf, | 234 const char* buf, |
| 235 unsigned int len, | 235 unsigned int len, |
| 236 int notify_id, | 236 int notify_id, |
| 237 bool popups_allowed, | 237 bool popups_allowed, |
| 238 Referrer referrer_flag); | 238 Referrer referrer_flag); |
| 239 | 239 |
| 240 // Tears down the existing plugin instance and creates a new plugin instance | 240 // Tears down the existing plugin instance and creates a new plugin instance |
| 241 // to handle the response identified by the loader parameter. | 241 // to handle the response identified by the loader parameter. |
| 242 bool ReinitializePluginForResponse(WebKit::WebURLLoader* loader); | 242 bool ReinitializePluginForResponse(WebKit::WebURLLoader* loader); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 std::vector<std::string> arg_values_; | 306 std::vector<std::string> arg_values_; |
| 307 | 307 |
| 308 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; | 308 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; |
| 309 | 309 |
| 310 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 310 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace webkit_glue | 313 } // namespace webkit_glue |
| 314 | 314 |
| 315 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 315 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |