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

Side by Side Diff: components/sync/model_impl/attachments/attachment_service_impl.h

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 #ifndef COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_
6 #define COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ 6 #define COMPONENTS_SYNC_MODEL_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "components/sync/api/attachments/attachment_service.h"
16 #include "components/sync/api/attachments/attachment_service_proxy.h"
17 #include "components/sync/api/attachments/attachment_store.h"
18 #include "components/sync/api_impl/attachments/task_queue.h"
19 #include "components/sync/engine/attachments/attachment_downloader.h" 15 #include "components/sync/engine/attachments/attachment_downloader.h"
20 #include "components/sync/engine/attachments/attachment_uploader.h" 16 #include "components/sync/engine/attachments/attachment_uploader.h"
17 #include "components/sync/model/attachments/attachment_service.h"
18 #include "components/sync/model/attachments/attachment_service_proxy.h"
19 #include "components/sync/model/attachments/attachment_store.h"
20 #include "components/sync/model_impl/attachments/task_queue.h"
21 #include "net/base/network_change_notifier.h" 21 #include "net/base/network_change_notifier.h"
22 22
23 namespace syncer { 23 namespace syncer {
24 24
25 // Implementation of AttachmentService. 25 // Implementation of AttachmentService.
26 class AttachmentServiceImpl 26 class AttachmentServiceImpl
27 : public AttachmentService, 27 : public AttachmentService,
28 public net::NetworkChangeNotifier::NetworkChangeObserver, 28 public net::NetworkChangeNotifier::NetworkChangeObserver,
29 public base::NonThreadSafe { 29 public base::NonThreadSafe {
30 public: 30 public:
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 std::unique_ptr<TaskQueue<AttachmentId>> upload_task_queue_; 111 std::unique_ptr<TaskQueue<AttachmentId>> upload_task_queue_;
112 112
113 // Must be last data member. 113 // Must be last data member.
114 base::WeakPtrFactory<AttachmentServiceImpl> weak_ptr_factory_; 114 base::WeakPtrFactory<AttachmentServiceImpl> weak_ptr_factory_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(AttachmentServiceImpl); 116 DISALLOW_COPY_AND_ASSIGN(AttachmentServiceImpl);
117 }; 117 };
118 118
119 } // namespace syncer 119 } // namespace syncer
120 120
121 #endif // COMPONENTS_SYNC_API_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ 121 #endif // COMPONENTS_SYNC_MODEL_IMPL_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/model_impl/attachments/DEPS ('k') | components/sync/model_impl/attachments/attachment_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698