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

Unified Diff: device/geolocation/geolocation_service_context.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (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 | « device/gamepad/gamepad_monitor.cc ('k') | device/geolocation/geolocation_service_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_service_context.h
diff --git a/device/geolocation/geolocation_service_context.h b/device/geolocation/geolocation_service_context.h
index 5b7c2f0c29072aa3ea5df2ed2a415ac74d261632..581fd99106e294dc910cf68595d596b52d81cee4 100644
--- a/device/geolocation/geolocation_service_context.h
+++ b/device/geolocation/geolocation_service_context.h
@@ -12,6 +12,10 @@
#include "device/geolocation/geolocation_export.h"
#include "device/geolocation/public/interfaces/geolocation.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace device {
class GeolocationServiceImpl;
@@ -26,7 +30,8 @@ class DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext {
virtual ~GeolocationServiceContext();
// Creates a GeolocationServiceImpl that is weakly bound to |request|.
- void CreateService(mojo::InterfaceRequest<mojom::GeolocationService> request);
+ void CreateService(const service_manager::BindSourceInfo& source_info,
+ mojom::GeolocationServiceRequest request);
// Called when a service has a connection error. After this call, it is no
// longer safe to access |service|.
« no previous file with comments | « device/gamepad/gamepad_monitor.cc ('k') | device/geolocation/geolocation_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698