summaryrefslogtreecommitdiffstats
path: root/sync/api/attachments/attachment_metadata.cc
blob: 860af0f36cca686f6b815b1a4ed4888e3a4697a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stddef.h>

#include "sync/api/attachments/attachment_metadata.h"

namespace syncer {

AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size)
    : id_(id), size_(size) {
}

AttachmentMetadata::~AttachmentMetadata() {
}

const AttachmentId& AttachmentMetadata::GetId() const {
  return id_;
}

size_t AttachmentMetadata::GetSize() const {
  return size_;
}

}  // namespace syncer