| 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> |
| 9 |
| 8 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "mojo/application/public/cpp/application_delegate.h" | 14 #include "mojo/application/public/cpp/application_delegate.h" |
| 13 #include "mojo/application/public/cpp/interface_factory.h" | 15 #include "mojo/application/public/cpp/interface_factory.h" |
| 14 | 16 |
| 15 namespace mojo { | 17 namespace mojo { |
| 16 class ApplicationImpl; | 18 class ApplicationImpl; |
| 17 } | 19 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 57 |
| 56 // 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. |
| 57 base::CancelableClosure idle_timeout_callback_; | 59 base::CancelableClosure idle_timeout_callback_; |
| 58 | 60 |
| 59 DISALLOW_COPY_AND_ASSIGN(DevicesApp); | 61 DISALLOW_COPY_AND_ASSIGN(DevicesApp); |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // naespace device | 64 } // naespace device |
| 63 | 65 |
| 64 #endif // DEVICE_DEVICES_DEVICES_APP_H_ | 66 #endif // DEVICE_DEVICES_DEVICES_APP_H_ |
| OLD | NEW |