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

Side by Side Diff: components/sync/api/attachments/attachment_id.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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_id.h" 5 #include "components/sync/api/attachments/attachment_id.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include "base/logging.h" 7 #include "base/logging.h"
11 #include "components/sync/base/attachment_id_proto.h" 8 #include "components/sync/base/attachment_id_proto.h"
12 #include "components/sync/protocol/sync.pb.h" 9 #include "components/sync/protocol/sync.pb.h"
13 10
14 namespace syncer { 11 namespace syncer {
15 12
16 void AttachmentId::ImmutableAttachmentIdProtoTraits::InitializeWrapper( 13 void AttachmentId::ImmutableAttachmentIdProtoTraits::InitializeWrapper(
17 Wrapper* wrapper) { 14 Wrapper* wrapper) {
18 *wrapper = new sync_pb::AttachmentIdProto(); 15 *wrapper = new sync_pb::AttachmentIdProto();
19 } 16 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 74
78 size_t AttachmentId::GetSize() const { 75 size_t AttachmentId::GetSize() const {
79 return proto_.Get().size_bytes(); 76 return proto_.Get().size_bytes();
80 } 77 }
81 78
82 uint32_t AttachmentId::GetCrc32c() const { 79 uint32_t AttachmentId::GetCrc32c() const {
83 return proto_.Get().crc32c(); 80 return proto_.Get().crc32c();
84 } 81 }
85 82
86 } // namespace syncer 83 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/api/attachments/attachment.cc ('k') | components/sync/api/attachments/attachment_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698