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 "components/sync_driver/generic_change_processor.h" | 5 #include "components/sync_driver/generic_change_processor.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
13 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
14 #include "components/sync_driver/data_type_error_handler_mock.h" | 16 #include "components/sync_driver/data_type_error_handler_mock.h" |
15 #include "components/sync_driver/fake_sync_client.h" | 17 #include "components/sync_driver/fake_sync_client.h" |
16 #include "components/sync_driver/local_device_info_provider.h" | 18 #include "components/sync_driver/local_device_info_provider.h" |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 syncer::SyncDataList sync_data = | 536 syncer::SyncDataList sync_data = |
535 change_processor()->GetAllSyncData(syncer::SESSIONS); | 537 change_processor()->GetAllSyncData(syncer::SESSIONS); |
536 ASSERT_EQ(sync_data.size(), 1U); | 538 ASSERT_EQ(sync_data.size(), 1U); |
537 ASSERT_EQ("session tag 2", | 539 ASSERT_EQ("session tag 2", |
538 sync_data[0].GetSpecifics().session().session_tag()); | 540 sync_data[0].GetSpecifics().session().session_tag()); |
539 } | 541 } |
540 | 542 |
541 } // namespace | 543 } // namespace |
542 | 544 |
543 } // namespace sync_driver | 545 } // namespace sync_driver |
OLD | NEW |