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

Unified Diff: chrome/browser/policy/testing_policy_url_fetcher_factory.cc

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 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
Index: chrome/browser/policy/testing_policy_url_fetcher_factory.cc
===================================================================
--- chrome/browser/policy/testing_policy_url_fetcher_factory.cc (revision 107061)
+++ chrome/browser/policy/testing_policy_url_fetcher_factory.cc (working copy)
@@ -45,19 +45,20 @@
virtual void Start() OVERRIDE;
void Respond();
- virtual const GURL& url() const {
+ virtual const GURL& GetUrl() const OVERRIDE {
return url_;
}
- virtual const net::URLRequestStatus& status() const {
+ virtual const net::URLRequestStatus& GetStatus() const OVERRIDE {
return status_;
}
- virtual int response_code() const {
+ virtual int GetResponseCode() const OVERRIDE {
return response_.response_code;
}
- virtual bool GetResponseAsString(std::string* out_response_string) const {
+ virtual bool GetResponseAsString(
+ std::string* out_response_string) const OVERRIDE {
*out_response_string = response_.response_data;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698