| Index: google_apis/gcm/engine/mcs_client_unittest.cc
|
| diff --git a/google_apis/gcm/engine/mcs_client_unittest.cc b/google_apis/gcm/engine/mcs_client_unittest.cc
|
| index a06213627c58526f9371105f1c82d562f1a4a823..3e94532b742ae444234ec5e188882b40d0680f97 100644
|
| --- a/google_apis/gcm/engine/mcs_client_unittest.cc
|
| +++ b/google_apis/gcm/engine/mcs_client_unittest.cc
|
| @@ -10,7 +10,7 @@
|
| #include "base/run_loop.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/test/simple_test_clock.h"
|
| -#include "components/os_crypt/os_crypt_switches.h"
|
| +#include "google_apis/gcm/base/fake_encryptor.h"
|
| #include "google_apis/gcm/base/mcs_util.h"
|
| #include "google_apis/gcm/engine/fake_connection_factory.h"
|
| #include "google_apis/gcm/engine/fake_connection_handler.h"
|
| @@ -159,15 +159,13 @@ MCSClientTest::~MCSClientTest() {}
|
|
|
| void MCSClientTest::SetUp() {
|
| testing::Test::SetUp();
|
| -#if defined(OS_MACOSX)
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - os_crypt::switches::kUseMockKeychain);
|
| -#endif // OS_MACOSX
|
| }
|
|
|
| void MCSClientTest::BuildMCSClient() {
|
| - gcm_store_.reset(new GCMStoreImpl(temp_directory_.path(),
|
| - message_loop_.message_loop_proxy()));
|
| + gcm_store_.reset(new GCMStoreImpl(
|
| + temp_directory_.path(),
|
| + message_loop_.message_loop_proxy(),
|
| + make_scoped_ptr<Encryptor>(new FakeEncryptor)));
|
| mcs_client_.reset(new TestMCSClient(&clock_,
|
| &connection_factory_,
|
| gcm_store_.get(),
|
|
|