| 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 "chrome/browser/sync/glue/device_info_sync_service.h" | 6 #include "chrome/browser/sync/glue/device_info_sync_service.h" |
| 7 #include "chrome/browser/sync/glue/local_device_info_provider_mock.h" | 7 #include "chrome/browser/sync/glue/local_device_info_provider_mock.h" |
| 8 #include "content/public/test/test_browser_thread_bundle.h" | 8 #include "content/public/test/test_browser_thread_bundle.h" |
| 9 #include "sync/api/attachments/attachment_service_proxy_for_test.h" | |
| 10 #include "sync/api/sync_change.h" | 9 #include "sync/api/sync_change.h" |
| 11 #include "sync/api/sync_change_processor.h" | 10 #include "sync/api/sync_change_processor.h" |
| 12 #include "sync/api/sync_change_processor_wrapper_for_test.h" | 11 #include "sync/api/sync_change_processor_wrapper_for_test.h" |
| 13 #include "sync/api/sync_error_factory_mock.h" | 12 #include "sync/api/sync_error_factory_mock.h" |
| 13 #include "sync/internal_api/public/attachments/attachment_service_proxy_for_test
.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 using syncer::AttachmentIdList; | 16 using syncer::AttachmentIdList; |
| 17 using syncer::AttachmentServiceProxyForTest; | 17 using syncer::AttachmentServiceProxyForTest; |
| 18 using syncer::ModelType; | 18 using syncer::ModelType; |
| 19 using syncer::SyncChange; | 19 using syncer::SyncChange; |
| 20 using syncer::SyncChangeList; | 20 using syncer::SyncChangeList; |
| 21 using syncer::SyncChangeProcessor; | 21 using syncer::SyncChangeProcessor; |
| 22 using syncer::SyncChangeProcessorWrapperForTest; | 22 using syncer::SyncChangeProcessorWrapperForTest; |
| 23 using syncer::SyncData; | 23 using syncer::SyncData; |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 SyncError error = sync_service_->ProcessSyncChanges(FROM_HERE, change_list); | 396 SyncError error = sync_service_->ProcessSyncChanges(FROM_HERE, change_list); |
| 397 EXPECT_FALSE(error.IsSet()); | 397 EXPECT_FALSE(error.IsSet()); |
| 398 | 398 |
| 399 // The number of callback should still be zero. | 399 // The number of callback should still be zero. |
| 400 EXPECT_EQ(0, num_device_info_changed_callbacks_); | 400 EXPECT_EQ(0, num_device_info_changed_callbacks_); |
| 401 } | 401 } |
| 402 | 402 |
| 403 } // namespace | 403 } // namespace |
| 404 | 404 |
| 405 } // namespace browser_sync | 405 } // namespace browser_sync |
| OLD | NEW |