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

Unified Diff: chrome/browser/chromeos/login/parallel_authenticator_unittest.cc

Issue 7524033: Add a scoper object for URLFetcher::Factory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 5 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/chromeos/login/parallel_authenticator_unittest.cc
diff --git a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
index 62bba478732bc40580a0032f1a4f97a74b2a83ce..0714929c8e18361de1dc1adaf1afeba946e06ce9 100644
--- a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
+++ b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
@@ -570,7 +570,6 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetNewPassword) {
ExpectLoginSuccess(username_, password_, result_, false);
MockFactory<SuccessFetcher> factory;
- URLFetcher::set_factory(&factory);
TestingProfile profile;
auth_->RetryAuth(&profile,
@@ -613,7 +612,6 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) {
ExpectLoginFailure(failure);
MockFactory<CaptchaFetcher> factory;
- URLFetcher::set_factory(&factory);
TestingProfile profile;
auth_->RetryAuth(&profile,

Powered by Google App Engine
This is Rietveld 408576698