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

Unified Diff: chrome/common/resource_dispatcher_unittest.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/resource_dispatcher.cc ('k') | chrome/common/security_filter_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_dispatcher_unittest.cc
diff --git a/chrome/common/resource_dispatcher_unittest.cc b/chrome/common/resource_dispatcher_unittest.cc
index 39464ee67bddc1caf3abb2df0520c05fb51a8e51..bfdbad5ffe7122537e41d282272067e732924b57 100644
--- a/chrome/common/resource_dispatcher_unittest.cc
+++ b/chrome/common/resource_dispatcher_unittest.cc
@@ -57,8 +57,8 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer {
complete_ = true;
}
- virtual std::string GetURLForDebugging() {
- return std::string();
+ virtual GURL GetURLForDebugging() const {
+ return GURL();
}
const std::string& data() const {
@@ -259,8 +259,8 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
const std::string& security_info) {
}
- virtual std::string GetURLForDebugging() {
- return std::string();
+ virtual GURL GetURLForDebugging() const {
+ return GURL();
}
protected:
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/common/security_filter_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698