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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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/model/attachments/attachment_service_proxy_for_test.h" 5 #include "components/sync/model/attachments/attachment_service_proxy_for_test.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/sequenced_task_runner.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "components/sync/model/attachments/attachment_service.h" 12 #include "components/sync/model/attachments/attachment_service.h"
12 13
13 namespace syncer { 14 namespace syncer {
14 15
15 AttachmentServiceProxyForTest::OwningCore::OwningCore( 16 AttachmentServiceProxyForTest::OwningCore::OwningCore(
16 std::unique_ptr<AttachmentService> wrapped, 17 std::unique_ptr<AttachmentService> wrapped,
17 std::unique_ptr<base::WeakPtrFactory<AttachmentService>> weak_ptr_factory) 18 std::unique_ptr<base::WeakPtrFactory<AttachmentService>> weak_ptr_factory)
18 : Core(weak_ptr_factory->GetWeakPtr()), 19 : Core(weak_ptr_factory->GetWeakPtr()),
19 wrapped_(std::move(wrapped)), 20 wrapped_(std::move(wrapped)),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 55 }
55 56
56 AttachmentServiceProxyForTest::~AttachmentServiceProxyForTest() {} 57 AttachmentServiceProxyForTest::~AttachmentServiceProxyForTest() {}
57 58
58 AttachmentServiceProxyForTest::AttachmentServiceProxyForTest( 59 AttachmentServiceProxyForTest::AttachmentServiceProxyForTest(
59 const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner, 60 const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner,
60 const scoped_refptr<Core>& core) 61 const scoped_refptr<Core>& core)
61 : AttachmentServiceProxy(wrapped_task_runner, core) {} 62 : AttachmentServiceProxy(wrapped_task_runner, core) {}
62 63
63 } // namespace syncer 64 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698