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

Side by Side Diff: components/sync/api/syncable_service.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 SYNC_API_SYNCABLE_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_API_SYNCABLE_SERVICE_H_
6 #define SYNC_API_SYNCABLE_SERVICE_H_ 6 #define COMPONENTS_SYNC_API_SYNCABLE_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "sync/api/attachments/attachment_store.h" 14 #include "components/sync/api/attachments/attachment_store.h"
15 #include "sync/api/sync_change_processor.h" 15 #include "components/sync/api/sync_change_processor.h"
16 #include "sync/api/sync_data.h" 16 #include "components/sync/api/sync_data.h"
17 #include "sync/api/sync_error.h" 17 #include "components/sync/api/sync_error.h"
18 #include "sync/api/sync_merge_result.h" 18 #include "components/sync/api/sync_merge_result.h"
19 #include "sync/base/sync_export.h" 19 #include "components/sync/base/model_type.h"
20 #include "sync/internal_api/public/base/model_type.h" 20 #include "components/sync/base/sync_export.h"
21 21
22 namespace syncer { 22 namespace syncer {
23 23
24 class AttachmentService; 24 class AttachmentService;
25 class SyncErrorFactory; 25 class SyncErrorFactory;
26 26
27 // TODO(zea): remove SupportsWeakPtr in favor of having all SyncableService 27 // TODO(zea): remove SupportsWeakPtr in favor of having all SyncableService
28 // implementers provide a way of getting a weak pointer to themselves. 28 // implementers provide a way of getting a weak pointer to themselves.
29 // See crbug.com/100114. 29 // See crbug.com/100114.
30 class SYNC_EXPORT SyncableService 30 class SYNC_EXPORT SyncableService
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // AttachmentService instance. 87 // AttachmentService instance.
88 virtual void SetAttachmentService( 88 virtual void SetAttachmentService(
89 std::unique_ptr<AttachmentService> attachment_service); 89 std::unique_ptr<AttachmentService> attachment_service);
90 90
91 protected: 91 protected:
92 ~SyncableService() override; 92 ~SyncableService() override;
93 }; 93 };
94 94
95 } // namespace syncer 95 } // namespace syncer
96 96
97 #endif // SYNC_API_SYNCABLE_SERVICE_H_ 97 #endif // COMPONENTS_SYNC_API_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync/api/sync_merge_result_unittest.cc ('k') | components/sync/api/syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698