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

Side by Side Diff: components/sync/model/fake_syncable_service.h

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 #ifndef COMPONENTS_SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_FAKE_SYNCABLE_SERVICE_H_
6 #define COMPONENTS_SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 6 #define COMPONENTS_SYNC_MODEL_FAKE_SYNCABLE_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/sync/api/syncable_service.h" 10 #include "components/sync/model/syncable_service.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 class SyncErrorFactory; 14 class SyncErrorFactory;
15 15
16 // A fake SyncableService that can return arbitrary values and maintains the 16 // A fake SyncableService that can return arbitrary values and maintains the
17 // syncing status. 17 // syncing status.
18 class FakeSyncableService : public SyncableService { 18 class FakeSyncableService : public SyncableService {
19 public: 19 public:
20 FakeSyncableService(); 20 FakeSyncableService();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 SyncError merge_data_and_start_syncing_error_; 54 SyncError merge_data_and_start_syncing_error_;
55 SyncError process_sync_changes_error_; 55 SyncError process_sync_changes_error_;
56 bool syncing_; 56 bool syncing_;
57 ModelType type_; 57 ModelType type_;
58 std::unique_ptr<AttachmentStore> attachment_store_; 58 std::unique_ptr<AttachmentStore> attachment_store_;
59 std::unique_ptr<AttachmentService> attachment_service_; 59 std::unique_ptr<AttachmentService> attachment_service_;
60 }; 60 };
61 61
62 } // namespace syncer 62 } // namespace syncer
63 63
64 #endif // COMPONENTS_SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 64 #endif // COMPONENTS_SYNC_MODEL_FAKE_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync/model/fake_sync_change_processor.cc ('k') | components/sync/model/fake_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698