diff options
Diffstat (limited to 'device/devices_app/devices_app.cc')
-rw-r--r-- | device/devices_app/devices_app.cc | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/device/devices_app/devices_app.cc b/device/devices_app/devices_app.cc index 318ebf6..0aab6cb 100644 --- a/device/devices_app/devices_app.cc +++ b/device/devices_app/devices_app.cc @@ -23,8 +23,6 @@ namespace device { -const char kDevicesMojoAppUrl[] = "system:devices"; - namespace { // The number of seconds to wait without any bound DeviceManagers before @@ -100,16 +98,6 @@ class DevicesApp::USBServiceInitializer { DISALLOW_COPY_AND_ASSIGN(USBServiceInitializer); }; -DevicesApp::~DevicesApp() { -} - -// static -scoped_ptr<mojo::ApplicationDelegate> DevicesApp::CreateDelegate( - scoped_refptr<base::SequencedTaskRunner> service_task_runner) { - return scoped_ptr<mojo::ApplicationDelegate>( - new DevicesApp(service_task_runner)); -} - DevicesApp::DevicesApp( scoped_refptr<base::SequencedTaskRunner> service_task_runner) : app_impl_(nullptr), @@ -117,6 +105,9 @@ DevicesApp::DevicesApp( active_device_manager_count_(0) { } +DevicesApp::~DevicesApp() { +} + void DevicesApp::Initialize(mojo::ApplicationImpl* app) { app_impl_ = app; if (!service_task_runner_) { |