Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: components/sync/driver/generic_change_processor_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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> 7 #include <stddef.h>
8 8
9 #include <memory>
10 #include <string>
11 #include <utility> 9 #include <utility>
12 10
13 #include "base/memory/weak_ptr.h"
14 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 12 #include "base/run_loop.h"
16 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
17 #include "components/sync/api/attachments/attachment_id.h" 14 #include "components/sync/api/attachments/attachment_id.h"
18 #include "components/sync/api/attachments/attachment_store.h"
19 #include "components/sync/api/data_type_error_handler_mock.h" 15 #include "components/sync/api/data_type_error_handler_mock.h"
20 #include "components/sync/api/fake_syncable_service.h" 16 #include "components/sync/api/fake_syncable_service.h"
21 #include "components/sync/api/sync_change.h" 17 #include "components/sync/api/sync_change.h"
22 #include "components/sync/api/sync_merge_result.h"
23 #include "components/sync/base/model_type.h" 18 #include "components/sync/base/model_type.h"
24 #include "components/sync/core/attachments/attachment_service_impl.h" 19 #include "components/sync/core/attachments/attachment_service_impl.h"
25 #include "components/sync/core/attachments/fake_attachment_downloader.h" 20 #include "components/sync/core/attachments/fake_attachment_downloader.h"
26 #include "components/sync/core/attachments/fake_attachment_uploader.h" 21 #include "components/sync/core/attachments/fake_attachment_uploader.h"
27 #include "components/sync/core/read_node.h" 22 #include "components/sync/core/read_node.h"
28 #include "components/sync/core/read_transaction.h" 23 #include "components/sync/core/read_transaction.h"
29 #include "components/sync/core/sync_encryption_handler.h" 24 #include "components/sync/core/sync_encryption_handler.h"
30 #include "components/sync/core/test/test_user_share.h" 25 #include "components/sync/core/test/test_user_share.h"
31 #include "components/sync/core/user_share.h" 26 #include "components/sync/core/user_share.h"
32 #include "components/sync/core/write_node.h" 27 #include "components/sync/core/write_node.h"
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 SyncDataList sync_data = change_processor()->GetAllSyncData(SESSIONS); 514 SyncDataList sync_data = change_processor()->GetAllSyncData(SESSIONS);
520 ASSERT_EQ(sync_data.size(), 1U); 515 ASSERT_EQ(sync_data.size(), 1U);
521 ASSERT_EQ("session tag 2", 516 ASSERT_EQ("session tag 2",
522 sync_data[0].GetSpecifics().session().session_tag()); 517 sync_data[0].GetSpecifics().session().session_tag());
523 EXPECT_FALSE(SyncDataRemote(sync_data[0]).GetClientTagHash().empty()); 518 EXPECT_FALSE(SyncDataRemote(sync_data[0]).GetClientTagHash().empty());
524 } 519 }
525 520
526 } // namespace 521 } // namespace
527 522
528 } // namespace syncer 523 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698