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

Unified Diff: content/browser/vr/vr_device_manager.h

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment Created 4 years, 9 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/browser/vr/vr_device.h ('k') | content/browser/vr/vr_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/vr/vr_device_manager.h
diff --git a/content/browser/vr/vr_device_manager.h b/content/browser/vr/vr_device_manager.h
index 00a51ec9f912c9a558e24826a812514096a2bd22..f1dc81b081faedf54756f3111ad7f82c320fda24 100644
--- a/content/browser/vr/vr_device_manager.h
+++ b/content/browser/vr/vr_device_manager.h
@@ -22,16 +22,16 @@
namespace content {
-class VRDeviceManager : public VRService {
+class VRDeviceManager : public mojom::VRService {
public:
~VRDeviceManager() override;
- static void BindRequest(mojo::InterfaceRequest<VRService> request);
+ static void BindRequest(mojo::InterfaceRequest<mojom::VRService> request);
// Returns the VRDeviceManager singleton.
static VRDeviceManager* GetInstance();
- mojo::Array<VRDeviceInfoPtr> GetVRDevices();
+ mojo::Array<mojom::VRDeviceInfoPtr> GetVRDevices();
VRDevice* GetDevice(unsigned int index);
private:
@@ -47,7 +47,7 @@ class VRDeviceManager : public VRService {
void InitializeProviders();
void RegisterProvider(scoped_ptr<VRDeviceProvider> provider);
- // VRService implementation
+ // mojom::VRService implementation
void GetDevices(const GetDevicesCallback& callback) override;
void GetSensorState(uint32_t index,
const GetSensorStateCallback& callback) override;
@@ -65,7 +65,7 @@ class VRDeviceManager : public VRService {
bool vr_initialized_;
- mojo::BindingSet<VRService> bindings_;
+ mojo::BindingSet<mojom::VRService> bindings_;
// For testing. If true will not delete self when consumer count reaches 0.
bool keep_alive_;
« no previous file with comments | « content/browser/vr/vr_device.h ('k') | content/browser/vr/vr_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698