| 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/api/attachments/attachment_service_proxy.h" | 5 #include "components/sync/model/attachments/attachment_service_proxy.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 | 12 |
| 13 namespace syncer { | 13 namespace syncer { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 void AttachmentServiceProxy::Core::UploadAttachments( | 90 void AttachmentServiceProxy::Core::UploadAttachments( |
| 91 const AttachmentIdList& attachment_ids) { | 91 const AttachmentIdList& attachment_ids) { |
| 92 if (!wrapped_) { | 92 if (!wrapped_) { |
| 93 return; | 93 return; |
| 94 } | 94 } |
| 95 wrapped_->UploadAttachments(attachment_ids); | 95 wrapped_->UploadAttachments(attachment_ids); |
| 96 } | 96 } |
| 97 | 97 |
| 98 } // namespace syncer | 98 } // namespace syncer |
| OLD | NEW |