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

Unified Diff: device/vr/vr_service_impl.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/geolocation/geolocation_service_context.cc ('k') | device/vr/vr_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_service_impl.h
diff --git a/device/vr/vr_service_impl.h b/device/vr/vr_service_impl.h
index a004cea944bafbddeba490ccc5ec47234d69b4fe..bb4cdfc64f94f9d02ef2aab9d5f50029992952bb 100644
--- a/device/vr/vr_service_impl.h
+++ b/device/vr/vr_service_impl.h
@@ -15,6 +15,10 @@
#include "device/vr/vr_service.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace device {
// Browser process representation of a WebVR site session. Instantiated through
@@ -28,7 +32,8 @@ class VRServiceImpl : public mojom::VRService {
DEVICE_VR_EXPORT ~VRServiceImpl() override;
DEVICE_VR_EXPORT static void Create(
- mojo::InterfaceRequest<mojom::VRService> request);
+ const service_manager::BindSourceInfo& source_info,
+ mojom::VRServiceRequest request);
// mojom::VRService implementation
// Adds this service to the VRDeviceManager.
« no previous file with comments | « device/geolocation/geolocation_service_context.cc ('k') | device/vr/vr_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698