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

Side by Side Diff: content/utility/utility_thread_impl.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . 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
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | device/bluetooth/adapter_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/utility/utility_thread_impl.h" 5 #include "content/utility/utility_thread_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void UtilityThreadImpl::OnBatchModeStarted() { 121 void UtilityThreadImpl::OnBatchModeStarted() {
122 batch_mode_ = true; 122 batch_mode_ = true;
123 } 123 }
124 124
125 void UtilityThreadImpl::OnBatchModeFinished() { 125 void UtilityThreadImpl::OnBatchModeFinished() {
126 batch_mode_ = false; 126 batch_mode_ = false;
127 ReleaseProcessIfNeeded(); 127 ReleaseProcessIfNeeded();
128 } 128 }
129 129
130 void UtilityThreadImpl::BindServiceFactoryRequest( 130 void UtilityThreadImpl::BindServiceFactoryRequest(
131 const service_manager::BindSourceInfo& source_info,
131 service_manager::mojom::ServiceFactoryRequest request) { 132 service_manager::mojom::ServiceFactoryRequest request) {
132 DCHECK(service_factory_); 133 DCHECK(service_factory_);
133 service_factory_bindings_.AddBinding(service_factory_.get(), 134 service_factory_bindings_.AddBinding(service_factory_.get(),
134 std::move(request)); 135 std::move(request));
135 } 136 }
136 137
137 } // namespace content 138 } // namespace content
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | device/bluetooth/adapter_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698