OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ | 5 #ifndef CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ |
6 #define CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ | 6 #define CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/task/sequenced_task_runner.h" | 9 #include "base/sequenced_task_runner.h" |
10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 | 13 |
14 // IBusDaemonController is used to start/stop ibus-daemon process. This class is | 14 // IBusDaemonController is used to start/stop ibus-daemon process. This class is |
15 // also watching ibus-daemon process and if it is crashed, re-launch it | 15 // also watching ibus-daemon process and if it is crashed, re-launch it |
16 // automatically. This class is managed as Singleton. | 16 // automatically. This class is managed as Singleton. |
17 class CHROMEOS_EXPORT IBusDaemonController { | 17 class CHROMEOS_EXPORT IBusDaemonController { |
18 public: | 18 public: |
19 class Observer { | 19 class Observer { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 protected: | 59 protected: |
60 // IBusDaemonController is managed as singleton. Use GetInstance instead. | 60 // IBusDaemonController is managed as singleton. Use GetInstance instead. |
61 IBusDaemonController(); | 61 IBusDaemonController(); |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(IBusDaemonController); | 63 DISALLOW_COPY_AND_ASSIGN(IBusDaemonController); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace chromeos | 66 } // namespace chromeos |
67 | 67 |
68 #endif // CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ | 68 #endif // CHROMEOS_IME_IBUS_DAEMON_CONTROLLER_H_ |
OLD | NEW |