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

Side by Side Diff: components/sync/api/sync_data.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
« no previous file with comments | « components/sync/api/stub_model_type_service.cc ('k') | components/sync/api/sync_error.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 (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 "components/sync/api/sync_data.h" 5 #include "components/sync/api/sync_data.h"
6 6
7 #include <stdint.h>
8
9 #include <algorithm> 7 #include <algorithm>
10 #include <ostream> 8 #include <ostream>
11 9
12 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
13 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
14 #include "base/values.h" 12 #include "base/values.h"
15 #include "components/sync/base/model_type.h"
16 #include "components/sync/core/attachments/attachment_service_proxy.h"
17 #include "components/sync/core/base_node.h" 13 #include "components/sync/core/base_node.h"
18 #include "components/sync/protocol/proto_value_conversions.h" 14 #include "components/sync/protocol/proto_value_conversions.h"
19 #include "components/sync/protocol/sync.pb.h" 15 #include "components/sync/protocol/sync.pb.h"
20 16
21 namespace { 17 namespace {
22 18
23 sync_pb::AttachmentIdProto IdToProto( 19 sync_pb::AttachmentIdProto IdToProto(
24 const syncer::AttachmentId& attachment_id) { 20 const syncer::AttachmentId& attachment_id) {
25 return attachment_id.GetProto(); 21 return attachment_id.GetProto();
26 } 22 }
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return immutable_entity_.Get().client_defined_unique_tag(); 222 return immutable_entity_.Get().client_defined_unique_tag();
227 } 223 }
228 224
229 void SyncDataRemote::GetOrDownloadAttachments( 225 void SyncDataRemote::GetOrDownloadAttachments(
230 const AttachmentIdList& attachment_ids, 226 const AttachmentIdList& attachment_ids,
231 const AttachmentService::GetOrDownloadCallback& callback) { 227 const AttachmentService::GetOrDownloadCallback& callback) {
232 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback); 228 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback);
233 } 229 }
234 230
235 } // namespace syncer 231 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/api/stub_model_type_service.cc ('k') | components/sync/api/sync_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698