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

Side by Side Diff: sync/api/attachments/attachment_metadata.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, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include <stddef.h>
6
7 #include "sync/api/attachments/attachment_metadata.h"
8
9 namespace syncer {
10
11 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size)
12 : id_(id), size_(size) {
13 }
14
15 AttachmentMetadata::~AttachmentMetadata() {
16 }
17
18 const AttachmentId& AttachmentMetadata::GetId() const {
19 return id_;
20 }
21
22 size_t AttachmentMetadata::GetSize() const {
23 return size_;
24 }
25
26 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/api/attachments/attachment_metadata.h ('k') | sync/api/attachments/attachment_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698