OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/sync/glue/sync_backend_registrar.h" | 5 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
6 | 6 |
7 #include "chrome/browser/sync/glue/change_processor_mock.h" | 7 #include "chrome/browser/sync/glue/change_processor_mock.h" |
8 #include "chrome/browser/sync/glue/ui_model_worker.h" | 8 #include "chrome/browser/sync/glue/ui_model_worker.h" |
9 #include "chrome/browser/sync/syncable/model_type.h" | |
10 #include "chrome/browser/sync/test/engine/test_user_share.h" | 9 #include "chrome/browser/sync/test/engine/test_user_share.h" |
11 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
12 #include "content/test/test_browser_thread.h" | 11 #include "content/test/test_browser_thread.h" |
| 12 #include "sync/syncable/model_type.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace browser_sync { | 16 namespace browser_sync { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 using ::testing::_; | 20 using ::testing::_; |
21 using ::testing::InSequence; | 21 using ::testing::InSequence; |
22 using ::testing::Return; | 22 using ::testing::Return; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // Should do nothing. | 240 // Should do nothing. |
241 TriggerChanges(®istrar, AUTOFILL); | 241 TriggerChanges(®istrar, AUTOFILL); |
242 | 242 |
243 registrar.OnSyncerShutdownComplete(); | 243 registrar.OnSyncerShutdownComplete(); |
244 registrar.StopOnUIThread(); | 244 registrar.StopOnUIThread(); |
245 } | 245 } |
246 | 246 |
247 } // namespace | 247 } // namespace |
248 | 248 |
249 } // namespace browser_sync | 249 } // namespace browser_sync |
OLD | NEW |