| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_DEVICES_DEVICES_APP_H_ | 5 #ifndef DEVICE_DEVICES_DEVICES_APP_H_ |
| 6 #define DEVICE_DEVICES_DEVICES_APP_H_ | 6 #define DEVICE_DEVICES_DEVICES_APP_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "mojo/application/public/cpp/application_delegate.h" | 14 #include "mojo/shell/public/cpp/application_delegate.h" |
| 15 #include "mojo/application/public/cpp/interface_factory.h" | 15 #include "mojo/shell/public/cpp/interface_factory.h" |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 class ApplicationImpl; | 18 class ApplicationImpl; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace device { | 21 namespace device { |
| 22 | 22 |
| 23 namespace usb { | 23 namespace usb { |
| 24 class DeviceManager; | 24 class DeviceManager; |
| 25 } | 25 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // Callback used to shut down the app after a period of inactivity. | 58 // Callback used to shut down the app after a period of inactivity. |
| 59 base::CancelableClosure idle_timeout_callback_; | 59 base::CancelableClosure idle_timeout_callback_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(DevicesApp); | 61 DISALLOW_COPY_AND_ASSIGN(DevicesApp); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // naespace device | 64 } // naespace device |
| 65 | 65 |
| 66 #endif // DEVICE_DEVICES_DEVICES_APP_H_ | 66 #endif // DEVICE_DEVICES_DEVICES_APP_H_ |
| OLD | NEW |