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

Unified Diff: chrome/common/net/gaia/gaia_auth_fetcher_unittest.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
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher_unittest.h ('k') | chrome/common/net/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc
===================================================================
--- chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc (revision 107061)
+++ chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc (working copy)
@@ -71,19 +71,19 @@
delegate()->OnURLFetchComplete(this);
}
-const GURL& MockFetcher::url() const {
+const GURL& MockFetcher::GetUrl() const {
return url_;
}
-const net::URLRequestStatus& MockFetcher::status() const {
+const net::URLRequestStatus& MockFetcher::GetStatus() const {
return status_;
}
-int MockFetcher::response_code() const {
+int MockFetcher::GetResponseCode() const {
return response_code_;
}
-const net::ResponseCookies& MockFetcher::cookies() const {
+const net::ResponseCookies& MockFetcher::GetCookies() const {
return cookies_;
}
@@ -646,7 +646,7 @@
// properties to reflect a redirect.
TestURLFetcher* test_fetcher = factory.GetFetcherByID(0);
EXPECT_TRUE(test_fetcher != NULL);
- EXPECT_TRUE(test_fetcher->load_flags() == net::LOAD_NORMAL);
+ EXPECT_TRUE(test_fetcher->GetLoadFlags() == net::LOAD_NORMAL);
EXPECT_TRUE(auth.HasPendingFetch());
GURL final_url("http://www.google.com/CheckCookie");
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher_unittest.h ('k') | chrome/common/net/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698