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

Side by Side Diff: sync/api/sync_data.cc

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 (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/api/sync_data.h" 5 #include "sync/api/sync_data.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory>
Nicolas Zea 2016/04/07 21:48:57 can this be removed?
10 #include <ostream> 11 #include <ostream>
11 12
12 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "sync/internal_api/public/attachments/attachment_service_proxy.h" 16 #include "sync/internal_api/public/attachments/attachment_service_proxy.h"
17 #include "sync/internal_api/public/base/model_type.h" 17 #include "sync/internal_api/public/base/model_type.h"
18 #include "sync/internal_api/public/base_node.h" 18 #include "sync/internal_api/public/base_node.h"
19 #include "sync/protocol/proto_value_conversions.h" 19 #include "sync/protocol/proto_value_conversions.h"
20 #include "sync/protocol/sync.pb.h" 20 #include "sync/protocol/sync.pb.h"
21 21
22 namespace { 22 namespace {
23 23
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return id_; 216 return id_;
217 } 217 }
218 218
219 void SyncDataRemote::GetOrDownloadAttachments( 219 void SyncDataRemote::GetOrDownloadAttachments(
220 const AttachmentIdList& attachment_ids, 220 const AttachmentIdList& attachment_ids,
221 const AttachmentService::GetOrDownloadCallback& callback) { 221 const AttachmentService::GetOrDownloadCallback& callback) {
222 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback); 222 attachment_service_.GetOrDownloadAttachments(attachment_ids, callback);
223 } 223 }
224 224
225 } // namespace syncer 225 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698