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

Unified Diff: services/service_manager/public/cpp/binder_registry.h

Issue 2860943002: Flatten interface_binder.h and callback_binder.h (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: services/service_manager/public/cpp/binder_registry.h
diff --git a/services/service_manager/public/cpp/binder_registry.h b/services/service_manager/public/cpp/binder_registry.h
index 133983c7e884b3f23de99f72a79ff62eb98a5aae..9e16687920f8eb437962bef7c796c131f81ce52b 100644
--- a/services/service_manager/public/cpp/binder_registry.h
+++ b/services/service_manager/public/cpp/binder_registry.h
@@ -13,7 +13,7 @@
#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/system/message_pipe.h"
-#include "services/service_manager/public/cpp/lib/callback_binder.h"
+#include "services/service_manager/public/cpp/interface_binder.h"
namespace service_manager {
@@ -34,9 +34,9 @@ class BinderRegistry {
mojo::InterfaceRequest<Interface>)>& callback,
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner =
nullptr) {
- SetInterfaceBinder(Interface::Name_,
- base::MakeUnique<internal::CallbackBinder<Interface>>(
- callback, task_runner));
+ SetInterfaceBinder(
+ Interface::Name_,
+ base::MakeUnique<CallbackBinder<Interface>>(callback, task_runner));
}
void AddInterface(
const std::string& interface_name,
« no previous file with comments | « services/service_manager/public/cpp/BUILD.gn ('k') | services/service_manager/public/cpp/interface_binder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698