OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IPC_IPC_SECURITY_TEST_UTIL_H_ | 5 #ifndef IPC_IPC_SECURITY_TEST_UTIL_H_ |
6 #define IPC_IPC_SECURITY_TEST_UTIL_H_ | 6 #define IPC_IPC_SECURITY_TEST_UTIL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | 9 |
10 namespace IPC { | 10 namespace IPC { |
11 | 11 |
12 class ChannelProxy; | 12 class ChannelProxy; |
13 class Message; | 13 class Message; |
14 | 14 |
15 class IpcSecurityTestUtil { | 15 class IpcSecurityTestUtil { |
16 public: | 16 public: |
17 // Enables testing of security exploit scenarios where a compromised child | 17 // Enables testing of security exploit scenarios where a compromised child |
18 // process can send a malicious message of an arbitrary type. | 18 // process can send a malicious message of an arbitrary type. |
(...skipping 12 matching lines...) Expand all Loading... |
31 | 31 |
32 private: | 32 private: |
33 IpcSecurityTestUtil(); // Not instantiable. | 33 IpcSecurityTestUtil(); // Not instantiable. |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(IpcSecurityTestUtil); | 35 DISALLOW_COPY_AND_ASSIGN(IpcSecurityTestUtil); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace IPC | 38 } // namespace IPC |
39 | 39 |
40 #endif // IPC_IPC_SECURITY_TEST_UTIL_H_ | 40 #endif // IPC_IPC_SECURITY_TEST_UTIL_H_ |
OLD | NEW |