OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "sync/api/sync_data.h" | 5 #include "sync/api/sync_data.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 int64 SyncDataRemote::GetId() const { | 211 int64 SyncDataRemote::GetId() const { |
212 return id_; | 212 return id_; |
213 } | 213 } |
214 | 214 |
215 void SyncDataRemote::GetOrDownloadAttachments( | 215 void SyncDataRemote::GetOrDownloadAttachments( |
216 const AttachmentIdList& attachment_ids, | 216 const AttachmentIdList& attachment_ids, |
217 const AttachmentService::GetOrDownloadCallback& callback) { | 217 const AttachmentService::GetOrDownloadCallback& callback) { |
218 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback); | 218 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback); |
219 } | 219 } |
220 | 220 |
221 void SyncDataRemote::DropAttachments( | |
222 const AttachmentIdList& attachment_ids, | |
223 const AttachmentService::DropCallback& callback) { | |
224 attachment_service_.DropAttachments(attachment_ids, callback); | |
225 } | |
226 | |
227 } // namespace syncer | 221 } // namespace syncer |
OLD | NEW |