Enable disabling WebCore::GraphicsContext in telemetry.
[chromium-blink-merge.git] / chrome / test / security_tests / ipc_security_tests.h
blobc036dc2e888a70ddfa6a5d637ede7649b72e885d
1 // Copyright (c) 2006-2008 The Chromium 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.
5 #ifndef CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__
6 #define CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__
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
10 // it spawns a thread that will terminate the renderer if the attack is
11 // successful.
12 bool PipeImpersonationAttack();
14 #endif // CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__