Index: chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc |
diff --git a/chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc b/chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc |
index 5815a3fac4ab8f73cb364906b21b0b2d2363f10e..6308ec14a53bff9d358893a4607526f89a325c9e 100644 |
--- a/chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc |
+++ b/chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc |
@@ -457,7 +457,12 @@ TEST_F(GaiaAuthFetcherTest, FullTokenSuccess) { |
GaiaAuthFetcher auth(&consumer, std::string(), |
profile_.GetRequestContext()); |
- auth.StartIssueAuthToken("sid", "lsid", "service"); |
+ |
+// auth.StartIssueAuthToken("sid", "lsid", "service"); |
+ GaiaAuthConsumer::ClientLoginResult credentials; |
+ credentials.sid = "sid"; |
+ credentials.lsid = "lsid"; |
+ auth.StartIssueAuthToken(credentials, "service"); |
URLFetcher::set_factory(NULL); |
EXPECT_TRUE(auth.HasPendingFetch()); |
@@ -482,7 +487,11 @@ TEST_F(GaiaAuthFetcherTest, FullTokenFailure) { |
GaiaAuthFetcher auth(&consumer, std::string(), |
profile_.GetRequestContext()); |
- auth.StartIssueAuthToken("sid", "lsid", "service"); |
+// auth.StartIssueAuthToken("sid", "lsid", "service"); |
+ GaiaAuthConsumer::ClientLoginResult credentials; |
+ credentials.sid = "sid"; |
+ credentials.lsid = "lsid"; |
+ auth.StartIssueAuthToken(credentials, "service"); |
URLFetcher::set_factory(NULL); |
EXPECT_TRUE(auth.HasPendingFetch()); |