| Index: sync/engine/get_commit_ids.cc
|
| diff --git a/sync/engine/get_commit_ids.cc b/sync/engine/get_commit_ids.cc
|
| index 5f91915d5a0720e018ea333938e1329727c85cc4..80222ee20dd625d7efe108195695224d0c5569a6 100644
|
| --- a/sync/engine/get_commit_ids.cc
|
| +++ b/sync/engine/get_commit_ids.cc
|
| @@ -108,13 +108,9 @@
|
| // Return true if this entry has any attachments that haven't yet been uploaded
|
| // to the server.
|
| bool HasAttachmentNotOnServer(const syncable::Entry& entry) {
|
| - // TODO(maniscalco): Add test case (bug 356266).
|
| - const sync_pb::AttachmentMetadata& metadata = entry.GetAttachmentMetadata();
|
| - for (int i = 0; i < metadata.record_size(); ++i) {
|
| - if (!metadata.record(i).is_on_server()) {
|
| - return true;
|
| - }
|
| - }
|
| + // TODO(maniscalco): Once AttachmentMetadata is fleshed out, implement this
|
| + // function to return true if any of the attachments haven't been uploaded to
|
| + // the server. Add test case (bug 356266).
|
| return false;
|
| }
|
|
|
|
|