Index: components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
index a4f2bd9b77293803e546c385d7db96690b046d3f..c980fba00b614cf25460694d5776762a639fb2c2 100644 |
--- a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
@@ -78,9 +78,7 @@ class WalletSigninHelperForTesting : public WalletSigninHelper { |
} // namespace |
class WalletSigninHelperTest : public testing::Test { |
- public: |
- WalletSigninHelperTest() {} |
- |
+ protected: |
virtual void SetUp() OVERRIDE { |
signin_helper_.reset(new WalletSigninHelperForTesting( |
&mock_delegate_, |
@@ -92,7 +90,6 @@ class WalletSigninHelperTest : public testing::Test { |
signin_helper_.reset(); |
} |
- protected: |
// Sets up a response for the mock URLFetcher and completes the request. |
void SetUpFetcherResponseAndCompleteRequest( |
const std::string& url, |
@@ -158,8 +155,9 @@ class WalletSigninHelperTest : public testing::Test { |
content::TestBrowserContext browser_context_; |
private: |
- net::TestURLFetcherFactory factory_; |
+ // The profile's request context must be released on the IO thread. |
content::TestBrowserThreadBundle thread_bundle_; |
+ net::TestURLFetcherFactory factory_; |
}; |
TEST_F(WalletSigninHelperTest, PassiveSigninSuccessful) { |