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

Side by Side Diff: components/dom_distiller/core/dom_distiller_store_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/dom_distiller/core/dom_distiller_store.h" 5 #include "components/dom_distiller/core/dom_distiller_store.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "components/dom_distiller/core/article_entry.h" 18 #include "components/dom_distiller/core/article_entry.h"
19 #include "components/dom_distiller/core/dom_distiller_test_util.h" 19 #include "components/dom_distiller/core/dom_distiller_test_util.h"
20 #include "components/leveldb_proto/testing/fake_db.h" 20 #include "components/leveldb_proto/testing/fake_db.h"
21 #include "components/sync/api/attachments/attachment_id.h" 21 #include "components/sync/model/attachments/attachment_id.h"
22 #include "components/sync/api/attachments/attachment_service_proxy_for_test.h" 22 #include "components/sync/model/attachments/attachment_service_proxy_for_test.h"
23 #include "components/sync/protocol/sync.pb.h" 23 #include "components/sync/protocol/sync.pb.h"
24 #include "testing/gmock/include/gmock/gmock.h" 24 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 using base::Time; 27 using base::Time;
28 using leveldb_proto::test::FakeDB; 28 using leveldb_proto::test::FakeDB;
29 using sync_pb::EntitySpecifics; 29 using sync_pb::EntitySpecifics;
30 using syncer::ModelType; 30 using syncer::ModelType;
31 using syncer::SyncChange; 31 using syncer::SyncChange;
32 using syncer::SyncChangeList; 32 using syncer::SyncChangeList;
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 EntryMap fake_model; 586 EntryMap fake_model;
587 FakeSyncChangeProcessor* fake_sync_change_processor = 587 FakeSyncChangeProcessor* fake_sync_change_processor =
588 new FakeSyncChangeProcessor(&fake_model); 588 new FakeSyncChangeProcessor(&fake_model);
589 store_->MergeDataAndStartSyncing( 589 store_->MergeDataAndStartSyncing(
590 kDomDistillerModelType, change_data, 590 kDomDistillerModelType, change_data,
591 base::WrapUnique<SyncChangeProcessor>(fake_sync_change_processor), 591 base::WrapUnique<SyncChangeProcessor>(fake_sync_change_processor),
592 base::WrapUnique<SyncErrorFactory>(fake_error_factory)); 592 base::WrapUnique<SyncErrorFactory>(fake_error_factory));
593 } 593 }
594 594
595 } // namespace dom_distiller 595 } // namespace dom_distiller
OLDNEW
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store.cc ('k') | components/history/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698