Index: components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc |
diff --git a/components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc b/components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc |
index 9acce0eca9ab2635de118d4add4008b1da24915b..a4a0e5af42fc3f270e4517948eb2287480c898e0 100644 |
--- a/components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc |
+++ b/components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc |
@@ -3,11 +3,11 @@ |
// found in the LICENSE file. |
#include "base/memory/scoped_ptr.h" |
-#include "chrome/test/base/testing_profile.h" |
#include "components/autofill/content/browser/wallet/encryption_escrow_client.h" |
#include "components/autofill/content/browser/wallet/encryption_escrow_client_observer.h" |
#include "components/autofill/content/browser/wallet/instrument.h" |
#include "components/autofill/content/browser/wallet/wallet_test_util.h" |
+#include "content/public/test/test_browser_context.h" |
#include "content/public/test/test_browser_thread.h" |
#include "googleurl/src/gurl.h" |
#include "net/base/net_errors.h" |
@@ -71,14 +71,12 @@ class EncryptionEscrowClientTest : public testing::Test { |
virtual void SetUp() OVERRIDE { |
io_thread_.StartIOThread(); |
- profile_.CreateRequestContext(); |
encryption_escrow_client_.reset(new TestEncryptionEscrowClient( |
- profile_.GetRequestContext(), &observer_)); |
+ browser_context_.GetRequestContext(), &observer_)); |
} |
virtual void TearDown() OVERRIDE { |
encryption_escrow_client_.reset(); |
- profile_.ResetRequestContext(); |
io_thread_.Stop(); |
} |
@@ -111,9 +109,8 @@ class EncryptionEscrowClientTest : public testing::Test { |
private: |
- // The profile's request context must be released on the IO thread. |
content::TestBrowserThread io_thread_; |
blundell
2013/06/19 15:34:52
Is this still needed?
Jói
2013/06/19 15:38:04
I'm not sure; let me test.
|
- TestingProfile profile_; |
+ content::TestBrowserContext browser_context_; |
net::TestURLFetcherFactory factory_; |
}; |