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

Unified Diff: components/sync/api/attachments/attachment.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/api/attachments/attachment.h ('k') | components/sync/api/attachments/attachment_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/attachments/attachment.cc
diff --git a/sync/api/attachments/attachment.cc b/components/sync/api/attachments/attachment.cc
similarity index 86%
rename from sync/api/attachments/attachment.cc
rename to components/sync/api/attachments/attachment.cc
index c9ef9270862594ce7940eed007760523338fa60f..ae10f27ef722af4c70ceeba943b194b3114845f7 100644
--- a/sync/api/attachments/attachment.cc
+++ b/components/sync/api/attachments/attachment.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/api/attachments/attachment.h"
+#include "components/sync/api/attachments/attachment.h"
#include <stdint.h>
#include "base/logging.h"
-#include "sync/internal_api/public/attachments/attachment_util.h"
+#include "components/sync/core/attachments/attachment_util.h"
namespace syncer {
@@ -29,7 +29,9 @@ Attachment Attachment::CreateFromParts(
return Attachment(id, data);
}
-const AttachmentId& Attachment::GetId() const { return id_; }
+const AttachmentId& Attachment::GetId() const {
+ return id_;
+}
const scoped_refptr<base::RefCountedMemory>& Attachment::GetData() const {
return data_;
« no previous file with comments | « components/sync/api/attachments/attachment.h ('k') | components/sync/api/attachments/attachment_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698