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

Side by Side Diff: mojo/public/cpp/bindings/lib/associated_binding.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "mojo/public/cpp/bindings/associated_binding.h" 5 #include "mojo/public/cpp/bindings/associated_binding.h"
6 #include "base/single_thread_task_runner.h"
6 7
7 namespace mojo { 8 namespace mojo {
8 9
9 AssociatedBindingBase::AssociatedBindingBase() {} 10 AssociatedBindingBase::AssociatedBindingBase() {}
10 11
11 AssociatedBindingBase::~AssociatedBindingBase() {} 12 AssociatedBindingBase::~AssociatedBindingBase() {}
12 13
13 void AssociatedBindingBase::AddFilter(std::unique_ptr<MessageReceiver> filter) { 14 void AssociatedBindingBase::AddFilter(std::unique_ptr<MessageReceiver> filter) {
14 DCHECK(endpoint_client_); 15 DCHECK(endpoint_client_);
15 endpoint_client_->AddFilter(std::move(filter)); 16 endpoint_client_->AddFilter(std::move(filter));
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 endpoint_client_.reset(); 54 endpoint_client_.reset();
54 return; 55 return;
55 } 56 }
56 57
57 endpoint_client_.reset(new InterfaceEndpointClient( 58 endpoint_client_.reset(new InterfaceEndpointClient(
58 std::move(handle), receiver, std::move(payload_validator), 59 std::move(handle), receiver, std::move(payload_validator),
59 expect_sync_requests, std::move(runner), interface_version)); 60 expect_sync_requests, std::move(runner), interface_version));
60 } 61 }
61 62
62 } // namespace mojo 63 } // namespace mojo
OLDNEW
« no previous file with comments | « media/remoting/demuxer_stream_adapter_unittest.cc ('k') | net/android/http_auth_negotiate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698