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

Side by Side Diff: components/sync/api/sync_change_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Rebase. 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 (c) 2012 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 "components/sync/api/sync_change.h" 5 #include "components/sync/api/sync_change.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string>
9 8
10 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
11 #include "base/time/time.h" 10 #include "base/time/time.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "components/sync/api/attachments/attachment_id.h" 12 #include "components/sync/api/attachments/attachment_id.h"
14 #include "components/sync/core/attachments/attachment_service_proxy_for_test.h" 13 #include "components/sync/core/attachments/attachment_service_proxy_for_test.h"
15 #include "components/sync/protocol/preference_specifics.pb.h" 14 #include "components/sync/protocol/preference_specifics.pb.h"
16 #include "components/sync/protocol/proto_value_conversions.h" 15 #include "components/sync/protocol/proto_value_conversions.h"
17 #include "components/sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 EXPECT_EQ(SyncChange::ACTION_DELETE, e.change_type()); 137 EXPECT_EQ(SyncChange::ACTION_DELETE, e.change_type());
139 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); 138 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType());
140 ref_spec = EntitySpecificsToValue(delete_specifics); 139 ref_spec = EntitySpecificsToValue(delete_specifics);
141 e_spec = EntitySpecificsToValue(e.sync_data().GetSpecifics()); 140 e_spec = EntitySpecificsToValue(e.sync_data().GetSpecifics());
142 EXPECT_TRUE(ref_spec->Equals(e_spec.get())); 141 EXPECT_TRUE(ref_spec->Equals(e_spec.get()));
143 } 142 }
144 143
145 } // namespace 144 } // namespace
146 145
147 } // namespace syncer 146 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698