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

Side by Side Diff: components/sync/model/attachments/attachment_service_proxy.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_
6 #define COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ 6 #define COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_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/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/sequenced_task_runner.h" 11 #include "base/sequenced_task_runner.h"
12 #include "base/task_runner.h" 12 #include "base/task_runner.h"
13 #include "components/sync/api/attachments/attachment.h" 13 #include "components/sync/model/attachments/attachment.h"
14 #include "components/sync/api/attachments/attachment_service.h" 14 #include "components/sync/model/attachments/attachment_service.h"
15 15
16 namespace syncer { 16 namespace syncer {
17 17
18 // AttachmentServiceProxy wraps an AttachmentService allowing multiple threads 18 // AttachmentServiceProxy wraps an AttachmentService allowing multiple threads
19 // to share the wrapped AttachmentService and invoke its methods in the 19 // to share the wrapped AttachmentService and invoke its methods in the
20 // appropriate thread. 20 // appropriate thread.
21 // 21 //
22 // Callbacks passed to methods on this class will be invoked in the same thread 22 // Callbacks passed to methods on this class will be invoked in the same thread
23 // from which the method was called. 23 // from which the method was called.
24 // 24 //
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner, 96 const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner,
97 const scoped_refptr<Core>& core); 97 const scoped_refptr<Core>& core);
98 98
99 private: 99 private:
100 scoped_refptr<base::SequencedTaskRunner> wrapped_task_runner_; 100 scoped_refptr<base::SequencedTaskRunner> wrapped_task_runner_;
101 scoped_refptr<Core> core_; 101 scoped_refptr<Core> core_;
102 }; 102 };
103 103
104 } // namespace syncer 104 } // namespace syncer
105 105
106 #endif // COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ 106 #endif // COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_
OLDNEW
« no previous file with comments | « components/sync/model/attachments/attachment_service.cc ('k') | components/sync/model/attachments/attachment_service_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698