| Index: chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc
|
| index 8d3b03e93060278f2499b7226730baa4db862030..e93487b42185649ff46b248eeb1a49634ae007b0 100644
|
| --- a/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc
|
| @@ -29,8 +29,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/test_attempt_state.h"
|
| @@ -143,11 +143,9 @@ class ParallelAuthenticatorTest : 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(
|
| + chromeos::DBusThreadManager::InitializeForTesting()->SetCryptohomeClient(
|
| scoped_ptr<CryptohomeClient>(fake_cryptohome_client_));
|
| - DBusThreadManager::InitializeForTesting(fake_dbus_thread_manager);
|
|
|
| SystemSaltGetter::Initialize();
|
|
|
|
|