Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7395)

Unified Diff: chrome/plugin/chrome_plugin_host.cc

Issue 326003: Make GetURLForDebugging return a const GURL (Closed)
Patch Set: no const Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/security_filter_peer.cc ('k') | webkit/glue/media/buffered_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/chrome_plugin_host.cc
diff --git a/chrome/plugin/chrome_plugin_host.cc b/chrome/plugin/chrome_plugin_host.cc
index 95a4862f18af5d9367f18f832764b521f5460a25..f8b1b8f264f0a9011f867c3c0230f2279833c773 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) {
« no previous file with comments | « chrome/common/security_filter_peer.cc ('k') | webkit/glue/media/buffered_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698