| Index: services/service_manager/public/cpp/service_context_ref.cc
|
| diff --git a/services/service_manager/public/cpp/lib/service_context_ref.cc b/services/service_manager/public/cpp/service_context_ref.cc
|
| similarity index 90%
|
| rename from services/service_manager/public/cpp/lib/service_context_ref.cc
|
| rename to services/service_manager/public/cpp/service_context_ref.cc
|
| index 0a06f1fedef16c152e264053a514237cf82274b7..6615b412399b275a7693f23ab9a4ebcd57c37626 100644
|
| --- a/services/service_manager/public/cpp/lib/service_context_ref.cc
|
| +++ b/services/service_manager/public/cpp/service_context_ref.cc
|
| @@ -17,8 +17,7 @@ class ServiceContextRefImpl : public ServiceContextRef {
|
| ServiceContextRefImpl(
|
| base::WeakPtr<ServiceContextRefFactory> factory,
|
| scoped_refptr<base::SingleThreadTaskRunner> service_task_runner)
|
| - : factory_(factory),
|
| - service_task_runner_(service_task_runner) {
|
| + : factory_(factory), service_task_runner_(service_task_runner) {
|
| // This object is not thread-safe but may be used exclusively on a different
|
| // thread from the one which constructed it.
|
| thread_checker_.DetachFromThread();
|
| @@ -31,8 +30,7 @@ class ServiceContextRefImpl : public ServiceContextRef {
|
| factory_->Release();
|
| } else {
|
| service_task_runner_->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&ServiceContextRefFactory::Release, factory_));
|
| + FROM_HERE, base::Bind(&ServiceContextRefFactory::Release, factory_));
|
| }
|
| }
|
|
|
| @@ -45,8 +43,7 @@ class ServiceContextRefImpl : public ServiceContextRef {
|
| factory_->AddRef();
|
| } else {
|
| service_task_runner_->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&ServiceContextRefFactory::AddRef, factory_));
|
| + FROM_HERE, base::Bind(&ServiceContextRefFactory::AddRef, factory_));
|
| }
|
|
|
| return base::MakeUnique<ServiceContextRefImpl>(factory_,
|
|
|