| Index: chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc b/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc
|
| index 23df996ff06c4c530833bca016e79ab99df0227c..7c9c4714e6035a63c80a5f682ddd3cd15243d419 100644
|
| --- a/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc
|
| @@ -28,8 +28,8 @@
|
| #include "chromeos/chromeos_switches.h"
|
| #include "chromeos/cryptohome/mock_async_method_caller.h"
|
| #include "chromeos/cryptohome/system_salt_getter.h"
|
| +#include "chromeos/dbus/dbus_thread_manager.h"
|
| #include "chromeos/dbus/fake_cryptohome_client.h"
|
| -#include "chromeos/dbus/fake_dbus_thread_manager.h"
|
| #include "chromeos/login/auth/key.h"
|
| #include "chromeos/login/auth/mock_auth_status_consumer.h"
|
| #include "chromeos/login/auth/mock_url_fetchers.h"
|
| @@ -141,11 +141,10 @@ class CryptohomeAuthenticatorTest : public testing::Test {
|
| mock_caller_ = new cryptohome::MockAsyncMethodCaller;
|
| cryptohome::AsyncMethodCaller::InitializeForTesting(mock_caller_);
|
|
|
| - FakeDBusThreadManager* fake_dbus_thread_manager = new FakeDBusThreadManager;
|
| fake_cryptohome_client_ = new FakeCryptohomeClient;
|
| - fake_dbus_thread_manager->SetCryptohomeClient(
|
| - scoped_ptr<CryptohomeClient>(fake_cryptohome_client_));
|
| - DBusThreadManager::InitializeForTesting(fake_dbus_thread_manager);
|
| + chromeos::DBusThreadManager::GetDBusThreadManagerTestHelper()->
|
| + SetCryptohomeClient(
|
| + scoped_ptr<CryptohomeClient>(fake_cryptohome_client_));
|
|
|
| SystemSaltGetter::Initialize();
|
|
|
|
|