| 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 SANDBOX_SRC_TARGET_SERVICES_H__ | 5 #ifndef SANDBOX_SRC_TARGET_SERVICES_H__ |
| 6 #define SANDBOX_SRC_TARGET_SERVICES_H__ | 6 #define SANDBOX_SRC_TARGET_SERVICES_H__ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/basictypes.h" |
| 9 #include "sandbox/win/src/sandbox.h" | 9 #include "sandbox/win/src/sandbox.h" |
| 10 #include "sandbox/win/src/win_utils.h" | 10 #include "sandbox/win/src/win_utils.h" |
| 11 | 11 |
| 12 namespace sandbox { | 12 namespace sandbox { |
| 13 | 13 |
| 14 class ProcessState { | 14 class ProcessState { |
| 15 public: | 15 public: |
| 16 ProcessState(); | 16 ProcessState(); |
| 17 // Returns true if kernel32.dll has been loaded. | 17 // Returns true if kernel32.dll has been loaded. |
| 18 bool IsKernel32Loaded() const; | 18 bool IsKernel32Loaded() const; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 bool TestIPCPing(int version); | 62 bool TestIPCPing(int version); |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 ProcessState process_state_; | 65 ProcessState process_state_; |
| 66 DISALLOW_COPY_AND_ASSIGN(TargetServicesBase); | 66 DISALLOW_COPY_AND_ASSIGN(TargetServicesBase); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace sandbox | 69 } // namespace sandbox |
| 70 | 70 |
| 71 #endif // SANDBOX_SRC_TARGET_SERVICES_H__ | 71 #endif // SANDBOX_SRC_TARGET_SERVICES_H__ |
| OLD | NEW |