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/sync_data.h" | 5 #include "components/sync/model/sync_data.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.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 #include "components/sync/api/attachments/attachment_service.h" | 12 #include "components/sync/model/attachments/attachment_service.h" |
13 #include "components/sync/protocol/sync.pb.h" | 13 #include "components/sync/protocol/sync.pb.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 using std::string; | 16 using std::string; |
17 | 17 |
18 namespace syncer { | 18 namespace syncer { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 const char kSyncTag[] = "3984729834"; | 22 const char kSyncTag[] = "3984729834"; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 EXPECT_TRUE(data.GetSpecifics().has_preference()); | 110 EXPECT_TRUE(data.GetSpecifics().has_preference()); |
111 EXPECT_TRUE(data.GetAttachmentIds().empty()); | 111 EXPECT_TRUE(data.GetAttachmentIds().empty()); |
112 } | 112 } |
113 | 113 |
114 // TODO(maniscalco): Add test cases that verify GetLocalAttachmentsForUpload | 114 // TODO(maniscalco): Add test cases that verify GetLocalAttachmentsForUpload |
115 // calls are passed through to the underlying AttachmentService. | 115 // calls are passed through to the underlying AttachmentService. |
116 | 116 |
117 } // namespace | 117 } // namespace |
118 | 118 |
119 } // namespace syncer | 119 } // namespace syncer |
OLD | NEW |