OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/message_loop/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
6 #include "base/message_loop/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/sequenced_task_runner.h" | 8 #include "base/sequenced_task_runner.h" |
| 9 #include "sync/engine/non_blocking_type_processor.h" |
9 #include "sync/internal_api/public/base/model_type.h" | 10 #include "sync/internal_api/public/base/model_type.h" |
10 #include "sync/internal_api/public/non_blocking_type_processor.h" | |
11 #include "sync/internal_api/sync_core.h" | 11 #include "sync/internal_api/sync_core.h" |
12 #include "sync/internal_api/sync_core_proxy_impl.h" | 12 #include "sync/internal_api/sync_core_proxy_impl.h" |
13 #include "sync/sessions/model_type_registry.h" | 13 #include "sync/sessions/model_type_registry.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace syncer { | 16 namespace syncer { |
17 | 17 |
18 class SyncCoreProxyImplTest : public ::testing::Test { | 18 class SyncCoreProxyImplTest : public ::testing::Test { |
19 public: | 19 public: |
20 SyncCoreProxyImplTest() | 20 SyncCoreProxyImplTest() |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 themes_processor->Enable(GetProxy()); | 86 themes_processor->Enable(GetProxy()); |
87 | 87 |
88 base::RunLoop run_loop_; | 88 base::RunLoop run_loop_; |
89 run_loop_.RunUntilIdle(); | 89 run_loop_.RunUntilIdle(); |
90 | 90 |
91 EXPECT_TRUE(themes_processor->IsConnected()); | 91 EXPECT_TRUE(themes_processor->IsConnected()); |
92 DisableSync(); | 92 DisableSync(); |
93 } | 93 } |
94 | 94 |
95 } // namespace syncer | 95 } // namespace syncer |
OLD | NEW |