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

Side by Side Diff: components/sync/model/attachments/attachment_metadata.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 "components/sync/api/attachments/attachment_metadata.h" 5 #include "components/sync/model/attachments/attachment_metadata.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size) 9 AttachmentMetadata::AttachmentMetadata(const AttachmentId& id, size_t size)
10 : id_(id), size_(size) {} 10 : id_(id), size_(size) {}
11 11
12 AttachmentMetadata::~AttachmentMetadata() {} 12 AttachmentMetadata::~AttachmentMetadata() {}
13 13
14 const AttachmentId& AttachmentMetadata::GetId() const { 14 const AttachmentId& AttachmentMetadata::GetId() const {
15 return id_; 15 return id_;
16 } 16 }
17 17
18 size_t AttachmentMetadata::GetSize() const { 18 size_t AttachmentMetadata::GetSize() const {
19 return size_; 19 return size_;
20 } 20 }
21 21
22 } // namespace syncer 22 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698