Keshav Santhanam | dc1aa7b | 2016-07-11 09:08:12 -0700 | [diff] [blame] | 1 | // Copyright 2017 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef DEBUGD_SRC_CONTAINER_TOOL_H_ |
| 6 | #define DEBUGD_SRC_CONTAINER_TOOL_H_ |
| 7 | |
| 8 | #include <base/macros.h> |
| 9 | |
| 10 | namespace debugd { |
| 11 | |
| 12 | class ContainerTool { |
| 13 | public: |
| 14 | ContainerTool() = default; |
Qijiang Fan | 6bc59e1 | 2020-11-11 02:51:06 +0900 | [diff] [blame] | 15 | ContainerTool(const ContainerTool&) = delete; |
| 16 | ContainerTool& operator=(const ContainerTool&) = delete; |
| 17 | |
Keshav Santhanam | dc1aa7b | 2016-07-11 09:08:12 -0700 | [diff] [blame] | 18 | ~ContainerTool() = default; |
| 19 | |
| 20 | void ContainerStarted(); |
| 21 | void ContainerStopped(); |
| 22 | |
| 23 | private: |
| 24 | bool device_jail_started_; |
Keshav Santhanam | dc1aa7b | 2016-07-11 09:08:12 -0700 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | } // namespace debugd |
| 28 | |
| 29 | #endif // DEBUGD_SRC_CONTAINER_TOOL_H_ |