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

Unified Diff: content/test/test_url_fetcher_factory.h

Issue 7600003: Pre- and Auto-login should not log the user out of an already signed in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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: content/test/test_url_fetcher_factory.h
===================================================================
--- content/test/test_url_fetcher_factory.h (revision 95804)
+++ content/test/test_url_fetcher_factory.h (working copy)
@@ -73,7 +73,7 @@
// URL we were created with. Because of how we're using URLFetcher url()
// always returns an empty URL. Chances are you'll want to use original_url()
// in your tests.
- const GURL& original_url() const { return original_url_; }
+ virtual const GURL& original_url() const OVERRIDE { return original_url_; }
// Returns the data uploaded on this URLFetcher.
const std::string& upload_data() const { return URLFetcher::upload_data(); }
@@ -85,15 +85,15 @@
Delegate* delegate() const { return URLFetcher::delegate(); }
void set_url(const GURL& url) { fake_url_ = url; }
- virtual const GURL& url() const;
+ virtual const GURL& url() const OVERRIDE;
void set_status(const net::URLRequestStatus& status);
- virtual const net::URLRequestStatus& status() const;
+ virtual const net::URLRequestStatus& status() const OVERRIDE;
void set_response_code(int response_code) {
fake_response_code_ = response_code;
}
- virtual int response_code() const;
+ virtual int response_code() const OVERRIDE;
// Set string data.
void SetResponseString(const std::string& response);
@@ -102,9 +102,11 @@
void SetResponseFilePath(const FilePath& path);
// Override response access functions to return fake data.
- virtual bool GetResponseAsString(std::string* out_response_string) const;
+ virtual bool GetResponseAsString(std::string* out_response_string) const
+ OVERRIDE;
virtual bool GetResponseAsFilePath(bool take_ownership,
- FilePath* out_response_path) const;
+ FilePath* out_response_path) const
+ OVERRIDE;
private:
const int id_;
« chrome/common/net/gaia/gaia_auth_fetcher.cc ('K') | « content/common/url_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698