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 #include "components/sync/core/attachments/attachment_service_proxy.h" | 5 #include "components/sync/api/attachments/attachment_service_proxy.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/threading/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 | 10 |
11 namespace syncer { | 11 namespace syncer { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 // These ProxyFooCallback functions are used to invoke a callback in a specific | 15 // These ProxyFooCallback functions are used to invoke a callback in a specific |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 void AttachmentServiceProxy::Core::UploadAttachments( | 88 void AttachmentServiceProxy::Core::UploadAttachments( |
89 const AttachmentIdList& attachment_ids) { | 89 const AttachmentIdList& attachment_ids) { |
90 if (!wrapped_) { | 90 if (!wrapped_) { |
91 return; | 91 return; |
92 } | 92 } |
93 wrapped_->UploadAttachments(attachment_ids); | 93 wrapped_->UploadAttachments(attachment_ids); |
94 } | 94 } |
95 | 95 |
96 } // namespace syncer | 96 } // namespace syncer |
OLD | NEW |