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

Side by Side Diff: components/sync/model/attachments/attachment_service.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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_service.h" 5 #include "components/sync/model/attachments/attachment_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "components/sync/api/attachments/attachment_store.h"
11 #include "components/sync/api_impl/attachments/attachment_service_impl.h"
12 #include "components/sync/engine/attachments/fake_attachment_downloader.h" 10 #include "components/sync/engine/attachments/fake_attachment_downloader.h"
13 #include "components/sync/engine/attachments/fake_attachment_uploader.h" 11 #include "components/sync/engine/attachments/fake_attachment_uploader.h"
12 #include "components/sync/model/attachments/attachment_store.h"
13 #include "components/sync/model_impl/attachments/attachment_service_impl.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 16
17 // static 17 // static
18 std::unique_ptr<AttachmentService> AttachmentService::Create( 18 std::unique_ptr<AttachmentService> AttachmentService::Create(
19 std::unique_ptr<AttachmentStoreForSync> attachment_store, 19 std::unique_ptr<AttachmentStoreForSync> attachment_store,
20 std::unique_ptr<AttachmentUploader> attachment_uploader, 20 std::unique_ptr<AttachmentUploader> attachment_uploader,
21 std::unique_ptr<AttachmentDownloader> attachment_downloader, 21 std::unique_ptr<AttachmentDownloader> attachment_downloader,
22 Delegate* delegate, 22 Delegate* delegate,
23 const base::TimeDelta& initial_backoff_delay, 23 const base::TimeDelta& initial_backoff_delay,
(...skipping 11 matching lines...) Expand all
35 return base::MakeUnique<AttachmentServiceImpl>( 35 return base::MakeUnique<AttachmentServiceImpl>(
36 attachment_store->CreateAttachmentStoreForSync(), 36 attachment_store->CreateAttachmentStoreForSync(),
37 base::MakeUnique<FakeAttachmentUploader>(), 37 base::MakeUnique<FakeAttachmentUploader>(),
38 base::MakeUnique<FakeAttachmentDownloader>(), nullptr, base::TimeDelta(), 38 base::MakeUnique<FakeAttachmentDownloader>(), nullptr, base::TimeDelta(),
39 base::TimeDelta()); 39 base::TimeDelta());
40 } 40 }
41 41
42 AttachmentService::~AttachmentService() {} 42 AttachmentService::~AttachmentService() {}
43 43
44 } // namespace syncer 44 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model/attachments/attachment_service.h ('k') | components/sync/model/attachments/attachment_service_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698