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

Side by Side Diff: components/sync/api/attachments/attachment_store_backend.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ 5 #ifndef COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_
6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ 6 #define COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "sync/api/attachments/attachment.h" 11 #include "components/sync/api/attachments/attachment.h"
12 #include "sync/api/attachments/attachment_id.h" 12 #include "components/sync/api/attachments/attachment_id.h"
13 #include "sync/api/attachments/attachment_store.h" 13 #include "components/sync/api/attachments/attachment_store.h"
14 #include "sync/base/sync_export.h" 14 #include "components/sync/base/sync_export.h"
15 15
16 namespace base { 16 namespace base {
17 class SequencedTaskRunner; 17 class SequencedTaskRunner;
18 } // namespace base 18 } // namespace base
19 19
20 namespace syncer { 20 namespace syncer {
21 21
22 // Interface for AttachmentStore backends. 22 // Interface for AttachmentStore backends.
23 // 23 //
24 // AttachmentStoreBackend provides interface for different backends (on-disk, 24 // AttachmentStoreBackend provides interface for different backends (on-disk,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void PostCallback(const base::Closure& callback); 59 void PostCallback(const base::Closure& callback);
60 60
61 private: 61 private:
62 scoped_refptr<base::SequencedTaskRunner> callback_task_runner_; 62 scoped_refptr<base::SequencedTaskRunner> callback_task_runner_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreBackend); 64 DISALLOW_COPY_AND_ASSIGN(AttachmentStoreBackend);
65 }; 65 };
66 66
67 } // namespace syncer 67 } // namespace syncer
68 68
69 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_ 69 #endif // COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_STORE_BACKEND_H_
OLDNEW
« no previous file with comments | « components/sync/api/attachments/attachment_store.cc ('k') | components/sync/api/attachments/attachment_store_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698