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

Side by Side Diff: sync/api/attachments/attachment_metadata.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <stddef.h>
6
5 #include "sync/api/attachments/attachment_metadata.h" 7 #include "sync/api/attachments/attachment_metadata.h"
6 8
7 namespace syncer { 9 namespace syncer {
8 10
9 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size) 11 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size)
10 : id_(id), size_(size) { 12 : id_(id), size_(size) {
11 } 13 }
12 14
13 AttachmentMetadata::~AttachmentMetadata() { 15 AttachmentMetadata::~AttachmentMetadata() {
14 } 16 }
15 17
16 const AttachmentId& AttachmentMetadata::GetId() const { 18 const AttachmentId& AttachmentMetadata::GetId() const {
17 return id_; 19 return id_;
18 } 20 }
19 21
20 size_t AttachmentMetadata::GetSize() const { 22 size_t AttachmentMetadata::GetSize() const {
21 return size_; 23 return size_;
22 } 24 }
23 25
24 } // namespace syncer 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