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

Unified Diff: content/public/common/service_manager_connection.h

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (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
« no previous file with comments | « content/public/common/connection_filter.h ('k') | content/public/common/simple_connection_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/service_manager_connection.h
diff --git a/content/public/common/service_manager_connection.h b/content/public/common/service_manager_connection.h
index 674cf2da29eb7d085f483fc2dc54a4835b8e4b69..a64a2b806068983b69a8d8b2690b5151375cda7f 100644
--- a/content/public/common/service_manager_connection.h
+++ b/content/public/common/service_manager_connection.h
@@ -37,8 +37,7 @@ class CONTENT_EXPORT ServiceManagerConnection {
using ServiceRequestHandler =
base::Callback<void(service_manager::mojom::ServiceRequest)>;
using OnConnectHandler =
- base::Callback<void(const service_manager::ServiceInfo&,
- const service_manager::ServiceInfo&)>;
+ base::Callback<void(const service_manager::BindSourceInfo&)>;
using Factory =
base::Callback<std::unique_ptr<ServiceManagerConnection>(void)>;
@@ -79,10 +78,9 @@ class CONTENT_EXPORT ServiceManagerConnection {
// implementation. Use this to initiate connections as this object's Identity.
virtual service_manager::Connector* GetConnector() = 0;
- // Returns the service_manager::ServiceInfo for the current service and the
- // browser service (if this is not the browser service).
- virtual const service_manager::ServiceInfo& GetLocalInfo() const = 0;
- virtual const service_manager::ServiceInfo& GetBrowserInfo() const = 0;
+ // Returns the service_manager::BindSourceInfo for the browser service (if
+ // this is not the browser service).
+ virtual const service_manager::BindSourceInfo& GetBrowserInfo() const = 0;
// Sets a closure that is called when the connection is lost. Note that
// connection may already have been closed, in which case |closure| will be
« no previous file with comments | « content/public/common/connection_filter.h ('k') | content/public/common/simple_connection_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698