From 726985e24233bdfd13d2fcee05100ce19fb85525 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Thu, 18 Jun 2009 21:09:28 +0000 Subject: Delete files from webkit/glue that have been made obsolete by corresponding files in webkit/api. Here's the mapping: webkit/glue/webdatasource.h -> webkit/api/public/WebDataSource.h webkit/glue/weberror.h -> webkit/api/public/WebURLError.h webkit/glue/weburlrequest.h -> webkit/api/public/WebURLRequest.h webkit/glue/webresponse.h -> webkit/api/public/WebURLResponse.h I kept the implementation of WebDataSource in webkit/glue for now because it helps to have it close to WebFrameImpl and WebFrameLoaderClient. To facilitate this change, I needed to make use of WrappedResourceRequest and WrappedResourceResponse from webkit/api/src within the implementation files of webkit/glue. This is only a temporary usage of webkit/api/src from the outside. It will go away when WebFrame, etc. get moved into webkit/api. I modified these wrapper classes to expose the 'bind' function so that I can re-bind a wrapper. This is used in WebDataSourceImpl::request() and related methods to allow the interface to return a const reference to a WebURLRequest and WebURLResponse. The changes here are fairly mechanical. I'm not too happy about the way WebDataSource::redirectChain now works. I would prefer a solution that didn't involve so much copying, but I'm not going to worry about optimizing that now. R=brettw BUG=10041 TEST=none Review URL: http://codereview.chromium.org/126286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18747 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/localized_error.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/renderer/localized_error.h') diff --git a/chrome/renderer/localized_error.h b/chrome/renderer/localized_error.h index b5024a7..ff7da34 100644 --- a/chrome/renderer/localized_error.h +++ b/chrome/renderer/localized_error.h @@ -6,10 +6,13 @@ #define CHROME_RENDERER_LOCALIZED_ERROR_VALUES_H__ class DictionaryValue; -class WebError; class GURL; -void GetLocalizedErrorValues(const WebError& error, +namespace WebKit { +struct WebURLError; +} + +void GetLocalizedErrorValues(const WebKit::WebURLError& error, DictionaryValue* error_strings); // Fills |error_strings| with values to be used to build an error page which -- cgit v1.1