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

Side by Side Diff: sync/api/attachments/attachment.h

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sync/android/sync_jni_registrar.cc ('k') | sync/api/attachments/attachment.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SYNC_API_ATTACHMENTS_ATTACHMENT_H_ 5 #ifndef SYNC_API_ATTACHMENTS_ATTACHMENT_H_
6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_H_ 6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_H_
7 7
8 #include <stdint.h>
9
8 #include <map> 10 #include <map>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/ref_counted_memory.h" 14 #include "base/memory/ref_counted_memory.h"
14 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
15 #include "sync/api/attachments/attachment_id.h" 16 #include "sync/api/attachments/attachment_id.h"
16 #include "sync/base/sync_export.h" 17 #include "sync/base/sync_export.h"
17 18
18 namespace syncer { 19 namespace syncer {
19 20
20 // A blob of in-memory data attached to a sync item. 21 // A blob of in-memory data attached to a sync item.
21 // 22 //
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 Attachment(const AttachmentId& id, 62 Attachment(const AttachmentId& id,
62 const scoped_refptr<base::RefCountedMemory>& data); 63 const scoped_refptr<base::RefCountedMemory>& data);
63 }; 64 };
64 65
65 typedef std::vector<syncer::Attachment> AttachmentList; 66 typedef std::vector<syncer::Attachment> AttachmentList;
66 typedef std::map<AttachmentId, Attachment> AttachmentMap; 67 typedef std::map<AttachmentId, Attachment> AttachmentMap;
67 68
68 } // namespace syncer 69 } // namespace syncer
69 70
70 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_H_ 71 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_H_
OLDNEW
« no previous file with comments | « sync/android/sync_jni_registrar.cc ('k') | sync/api/attachments/attachment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698