summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 19:05:37 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 19:05:37 +0000
commitb4b3a91b7f7b30b0aa1628b43b61ee9aebce562f (patch)
treedc7491ed95382eb245d8704f7e2c3f0c2f8c9997 /webkit/glue/weburlloader_impl.cc
parentf5dae35ca6f55a4e2d5949b96b519c1287825c76 (diff)
downloadchromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.zip
chromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.tar.gz
chromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.tar.bz2
FBTF: Move some structs in webkit_glue::ResourceLoaderBridge:: .
This moves inner structs into the namespace toplevel so we can foreward declare them; then we forward declare them in render_messages.h so we can drop that header. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3616014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 528cc19..374f1323 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -144,7 +144,7 @@ ResourceType::Type FromTargetType(WebURLRequest::TargetType type) {
// Extracts the information from a data: url.
bool GetInfoFromDataURL(const GURL& url,
- ResourceLoaderBridge::ResponseInfo* info,
+ ResourceResponseInfo* info,
std::string* data, URLRequestStatus* status) {
std::string mime_type;
std::string charset;
@@ -165,11 +165,11 @@ bool GetInfoFromDataURL(const GURL& url,
return false;
}
-typedef ResourceLoaderBridge::DevToolsInfo::HeadersVector HeadersVector;
+typedef ResourceDevToolsInfo::HeadersVector HeadersVector;
void PopulateURLResponse(
const GURL& url,
- const ResourceLoaderBridge::ResponseInfo& info,
+ const ResourceResponseInfo& info,
WebURLResponse* response) {
response->setURL(url);
response->setResponseTime(info.response_time.ToDoubleT());
@@ -192,7 +192,7 @@ void PopulateURLResponse(
WebURLLoadTiming timing;
timing.initialize();
- const ResourceLoaderBridge::LoadTimingInfo& timing_info = info.load_timing;
+ const ResourceLoadTimingInfo& timing_info = info.load_timing;
timing.setRequestTime(timing_info.base_time.ToDoubleT());
timing.setProxyStart(timing_info.proxy_start);
timing.setProxyEnd(timing_info.proxy_end);
@@ -281,11 +281,11 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
virtual void OnUploadProgress(uint64 position, uint64 size);
virtual bool OnReceivedRedirect(
const GURL& new_url,
- const ResourceLoaderBridge::ResponseInfo& info,
+ const ResourceResponseInfo& info,
bool* has_new_first_party_for_cookies,
GURL* new_first_party_for_cookies);
virtual void OnReceivedResponse(
- const ResourceLoaderBridge::ResponseInfo& info, bool content_filtered);
+ const ResourceResponseInfo& info, bool content_filtered);
virtual void OnDownloadedData(int len);
virtual void OnReceivedData(const char* data, int len);
virtual void OnReceivedCachedMetadata(const char* data, int len);
@@ -488,7 +488,7 @@ void WebURLLoaderImpl::Context::OnUploadProgress(uint64 position, uint64 size) {
bool WebURLLoaderImpl::Context::OnReceivedRedirect(
const GURL& new_url,
- const ResourceLoaderBridge::ResponseInfo& info,
+ const ResourceResponseInfo& info,
bool* has_new_first_party_for_cookies,
GURL* new_first_party_for_cookies) {
if (!client_)
@@ -528,7 +528,7 @@ bool WebURLLoaderImpl::Context::OnReceivedRedirect(
}
void WebURLLoaderImpl::Context::OnReceivedResponse(
- const ResourceLoaderBridge::ResponseInfo& info,
+ const ResourceResponseInfo& info,
bool content_filtered) {
if (!client_)
return;
@@ -663,7 +663,7 @@ GURL WebURLLoaderImpl::Context::GetURLForDebugging() const {
}
void WebURLLoaderImpl::Context::HandleDataURL() {
- ResourceLoaderBridge::ResponseInfo info;
+ ResourceResponseInfo info;
URLRequestStatus status;
std::string data;