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

Side by Side Diff: sync/internal_api/syncapi_internal.cc

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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "sync/internal_api/syncapi_internal.h" 5 #include "sync/internal_api/syncapi_internal.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
8 #include "sync/protocol/attachments.pb.h" 11 #include "sync/protocol/attachments.pb.h"
9 #include "sync/protocol/password_specifics.pb.h" 12 #include "sync/protocol/password_specifics.pb.h"
10 #include "sync/protocol/sync.pb.h" 13 #include "sync/protocol/sync.pb.h"
11 #include "sync/util/cryptographer.h" 14 #include "sync/util/cryptographer.h"
12 15
13 namespace syncer { 16 namespace syncer {
14 17
15 namespace { 18 namespace {
16 19
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 112
110 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left, 113 bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left,
111 const sync_pb::AttachmentMetadata& right) { 114 const sync_pb::AttachmentMetadata& right) {
112 if (left.SerializeAsString() == right.SerializeAsString()) { 115 if (left.SerializeAsString() == right.SerializeAsString()) {
113 return true; 116 return true;
114 } 117 }
115 return false; 118 return false;
116 } 119 }
117 120
118 } // namespace syncer 121 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_rollback_manager_unittest.cc ('k') | sync/internal_api/syncapi_server_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698