summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 510be0e..cc30f42 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -219,7 +219,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
virtual void OnReceivedData(const char* data, int len);
virtual void OnCompletedRequest(
const URLRequestStatus& status, const std::string& security_info);
- virtual std::string GetURLForDebugging();
+ virtual GURL GetURLForDebugging() const;
private:
friend class base::RefCounted<Context>;
@@ -522,8 +522,8 @@ void WebURLLoaderImpl::Context::OnCompletedRequest(
Release();
}
-std::string WebURLLoaderImpl::Context::GetURLForDebugging() {
- return request_.url().spec();
+GURL WebURLLoaderImpl::Context::GetURLForDebugging() const {
+ return request_.url();
}
void WebURLLoaderImpl::Context::HandleDataURL() {