summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/chrome_plugin_host.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 /chrome/plugin/chrome_plugin_host.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 'chrome/plugin/chrome_plugin_host.cc')
-rw-r--r--chrome/plugin/chrome_plugin_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/chrome_plugin_host.cc b/chrome/plugin/chrome_plugin_host.cc
index 95a4862..f8b1b8f 100644
--- a/chrome/plugin/chrome_plugin_host.cc
+++ b/chrome/plugin/chrome_plugin_host.cc
@@ -118,8 +118,8 @@ class PluginRequestHandlerProxy
}
}
- virtual std::string GetURLForDebugging() {
- return cprequest_->url;
+ virtual GURL GetURLForDebugging() const {
+ return GURL(cprequest_->url);
}
void set_extra_headers(const std::string& headers) {