OLD | NEW |
1 // Copyright (c) 2006-2008 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 CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ | 5 #ifndef CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ |
6 #define CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ | 6 #define CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ |
7 | 7 |
8 // Impersonates a chrome server pipe. See the implementation for details. | 8 // Impersonates a chrome server pipe. See the implementation for details. |
9 // Returns false if the attack could not be set. If it returns true then | 9 // Returns false if the attack could not be set. If it returns true then |
10 // it spawns a thread that will terminate the renderer if the attack is | 10 // it spawns a thread that will terminate the renderer if the attack is |
11 // successful. | 11 // successful. |
12 bool PipeImpersonationAttack(); | 12 bool PipeImpersonationAttack(); |
13 | 13 |
14 #endif // CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ | 14 #endif // CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__ |
OLD | NEW |