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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 themes_processor->Enable(GetProxy()); | 84 themes_processor->Enable(GetProxy()); |
85 | 85 |
86 base::RunLoop run_loop_; | 86 base::RunLoop run_loop_; |
87 run_loop_.RunUntilIdle(); | 87 run_loop_.RunUntilIdle(); |
88 | 88 |
89 EXPECT_TRUE(themes_processor->IsConnected()); | 89 EXPECT_TRUE(themes_processor->IsConnected()); |
90 DisableSync(); | 90 DisableSync(); |
91 } | 91 } |
92 | 92 |
93 } // namespace syncer | 93 } // namespace syncer |
OLD | NEW |