Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(728)

Side by Side Diff: components/sync/engine/attachments/in_memory_attachment_store.cc

Issue 2399953002: [Sync] Move attachments code out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/core/attachments/in_memory_attachment_store.h" 5 #include "components/sync/engine/attachments/in_memory_attachment_store.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 : attachment(attachment) { 156 : attachment(attachment) {
157 components.insert(initial_reference_component); 157 components.insert(initial_reference_component);
158 } 158 }
159 159
160 InMemoryAttachmentStore::AttachmentEntry::AttachmentEntry( 160 InMemoryAttachmentStore::AttachmentEntry::AttachmentEntry(
161 const AttachmentEntry& other) = default; 161 const AttachmentEntry& other) = default;
162 162
163 InMemoryAttachmentStore::AttachmentEntry::~AttachmentEntry() {} 163 InMemoryAttachmentStore::AttachmentEntry::~AttachmentEntry() {}
164 164
165 } // namespace syncer 165 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698