| 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 "sync/api/sync_data.h" | 5 #include "sync/api/sync_data.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted_memory.h" | 12 #include "base/memory/ref_counted_memory.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "sync/api/attachments/attachment_id.h" | 16 #include "sync/api/attachments/attachment_id.h" |
| 17 #include "sync/internal_api/public/attachments/attachment_service.h" | 17 #include "sync/internal_api/public/attachments/attachment_service.h" |
| 18 #include "sync/internal_api/public/attachments/attachment_service_impl.h" | 18 #include "sync/internal_api/public/attachments/attachment_service_impl.h" |
| 19 #include "sync/internal_api/public/attachments/attachment_service_proxy.h" | 19 #include "sync/internal_api/public/attachments/attachment_service_proxy.h" |
| 20 #include "sync/protocol/sync.pb.h" | 20 #include "sync/protocol/sync.pb.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 22 | 22 |
| 23 using std::string; | 23 using std::string; |
| 24 | 24 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 EXPECT_TRUE(data.GetSpecifics().has_preference()); | 119 EXPECT_TRUE(data.GetSpecifics().has_preference()); |
| 120 EXPECT_TRUE(data.GetAttachmentIds().empty()); | 120 EXPECT_TRUE(data.GetAttachmentIds().empty()); |
| 121 } | 121 } |
| 122 | 122 |
| 123 // TODO(maniscalco): Add test cases that verify GetLocalAttachmentsForUpload | 123 // TODO(maniscalco): Add test cases that verify GetLocalAttachmentsForUpload |
| 124 // calls are passed through to the underlying AttachmentService. | 124 // calls are passed through to the underlying AttachmentService. |
| 125 | 125 |
| 126 } // namespace | 126 } // namespace |
| 127 | 127 |
| 128 } // namespace syncer | 128 } // namespace syncer |
| OLD | NEW |