Move SelectFileDialogTest from ChromeShellTest to ChromePublicTest
[chromium-blink-merge.git] / sync / api / attachments / attachment_metadata.cc
blob202de239f483e508008531af10ee6fa5d8feb8de
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.
5 #include "sync/api/attachments/attachment_metadata.h"
7 namespace syncer {
9 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size)
10 : id_(id), size_(size) {
13 AttachmentMetadata::~AttachmentMetadata() {
16 const AttachmentId& AttachmentMetadata::GetId() const {
17 return id_;
20 size_t AttachmentMetadata::GetSize() const {
21 return size_;
24 } // namespace syncer