summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media/simple_data_source.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 21:02:59 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 21:02:59 +0000
commit9ee9a76a1e9bf4ea2088bbb2986f3cf9b0718a97 (patch)
tree518de8dde8dfdce71db94ff79f81add215b84582 /webkit/glue/media/simple_data_source.cc
parentc8619f55658bfdbac62ce4d4d391b20f6935a8d5 (diff)
downloadchromium_src-9ee9a76a1e9bf4ea2088bbb2986f3cf9b0718a97.zip
chromium_src-9ee9a76a1e9bf4ea2088bbb2986f3cf9b0718a97.tar.gz
chromium_src-9ee9a76a1e9bf4ea2088bbb2986f3cf9b0718a97.tar.bz2
Make GetURLForDebugging return a const GURL.
Review URL: http://codereview.chromium.org/326003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media/simple_data_source.cc')
-rw-r--r--webkit/glue/media/simple_data_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/glue/media/simple_data_source.cc
index ab6cfea..0a4c11e 100644
--- a/webkit/glue/media/simple_data_source.cc
+++ b/webkit/glue/media/simple_data_source.cc
@@ -161,8 +161,8 @@ void SimpleDataSource::OnCompletedRequest(const URLRequestStatus& status,
DoneInitialization_Locked(status.is_success());
}
-std::string SimpleDataSource::GetURLForDebugging() {
- return url_.spec();
+GURL SimpleDataSource::GetURLForDebugging() const {
+ return url_;
}
void SimpleDataSource::SetURL(const GURL& url) {