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

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

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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/model/sync_change.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "components/sync/api/attachments/attachment_id.h" 12 #include "components/sync/model/attachments/attachment_id.h"
13 #include "components/sync/api/attachments/attachment_service_proxy_for_test.h" 13 #include "components/sync/model/attachments/attachment_service_proxy_for_test.h"
14 #include "components/sync/protocol/preference_specifics.pb.h" 14 #include "components/sync/protocol/preference_specifics.pb.h"
15 #include "components/sync/protocol/proto_value_conversions.h" 15 #include "components/sync/protocol/proto_value_conversions.h"
16 #include "components/sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // Ordered list of SyncChange's. 21 // Ordered list of SyncChange's.
22 typedef std::vector<SyncChange> SyncChangeList; 22 typedef std::vector<SyncChange> SyncChangeList;
23 23
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 EXPECT_EQ(SyncChange::ACTION_DELETE, e.change_type()); 137 EXPECT_EQ(SyncChange::ACTION_DELETE, e.change_type());
138 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); 138 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType());
139 ref_spec = EntitySpecificsToValue(delete_specifics); 139 ref_spec = EntitySpecificsToValue(delete_specifics);
140 e_spec = EntitySpecificsToValue(e.sync_data().GetSpecifics()); 140 e_spec = EntitySpecificsToValue(e.sync_data().GetSpecifics());
141 EXPECT_TRUE(ref_spec->Equals(e_spec.get())); 141 EXPECT_TRUE(ref_spec->Equals(e_spec.get()));
142 } 142 }
143 143
144 } // namespace 144 } // namespace
145 145
146 } // namespace syncer 146 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model/sync_change_processor_wrapper_for_test.cc ('k') | components/sync/model/sync_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698