Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ |
| 7 | 7 |
| 8 #include <memory> | |
|
Nicolas Zea
2016/04/07 21:48:58
not needed?
| |
| 9 | |
| 8 #include "base/callback.h" | 10 #include "base/callback.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "base/sequenced_task_runner.h" | 13 #include "base/sequenced_task_runner.h" |
| 13 #include "base/task_runner.h" | 14 #include "base/task_runner.h" |
| 14 #include "sync/api/attachments/attachment.h" | 15 #include "sync/api/attachments/attachment.h" |
| 15 #include "sync/base/sync_export.h" | 16 #include "sync/base/sync_export.h" |
| 16 #include "sync/internal_api/public/attachments/attachment_service.h" | 17 #include "sync/internal_api/public/attachments/attachment_service.h" |
| 17 | 18 |
| 18 namespace syncer { | 19 namespace syncer { |
| 19 | 20 |
| 20 // AttachmentServiceProxy wraps an AttachmentService allowing multiple threads | 21 // AttachmentServiceProxy wraps an AttachmentService allowing multiple threads |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 const scoped_refptr<Core>& core); | 100 const scoped_refptr<Core>& core); |
| 100 | 101 |
| 101 private: | 102 private: |
| 102 scoped_refptr<base::SequencedTaskRunner> wrapped_task_runner_; | 103 scoped_refptr<base::SequencedTaskRunner> wrapped_task_runner_; |
| 103 scoped_refptr<Core> core_; | 104 scoped_refptr<Core> core_; |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace syncer | 107 } // namespace syncer |
| 107 | 108 |
| 108 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ | 109 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_PROXY_H_ |
| OLD | NEW |