| Index: components/gcm_driver/gcm_client_impl_unittest.cc
|
| diff --git a/components/gcm_driver/gcm_client_impl_unittest.cc b/components/gcm_driver/gcm_client_impl_unittest.cc
|
| index 3ba8c43698dd574c6bbc9a26e5a5ff9296ec0f84..994a3fddbe8d4e2374cdc38f2501900ad784f0ab 100644
|
| --- a/components/gcm_driver/gcm_client_impl_unittest.cc
|
| +++ b/components/gcm_driver/gcm_client_impl_unittest.cc
|
| @@ -373,6 +373,10 @@ class GCMClientImplTest : public testing::Test,
|
| }
|
|
|
| private:
|
| + // Must be declared first so that it is destroyed last. Injected to
|
| + // GCM client.
|
| + base::ScopedTempDir temp_directory_;
|
| +
|
| // Variables used for verification.
|
| LastEvent last_event_;
|
| std::string last_app_id_;
|
| @@ -391,8 +395,7 @@ class GCMClientImplTest : public testing::Test,
|
| scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
|
| base::ThreadTaskRunnerHandle task_runner_handle_;
|
|
|
| - // Injected to GCM client:
|
| - base::ScopedTempDir temp_directory_;
|
| + // Injected to GCM client.
|
| scoped_refptr<net::TestURLRequestContextGetter> url_request_context_getter_;
|
| };
|
|
|
|
|