OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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_TESTS_COMMON_TEST_UTILS_H_ | 5 #ifndef SANDBOX_TESTS_COMMON_TEST_UTILS_H_ |
6 #define SANDBOX_TESTS_COMMON_TEST_UTILS_H_ | 6 #define SANDBOX_TESTS_COMMON_TEST_UTILS_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 // Sets a reparse point. |source| will now point to |target|. Returns true if | 10 // Sets a reparse point. |source| will now point to |target|. Returns true if |
11 // the call succeeds, false otherwise. | 11 // the call succeeds, false otherwise. |
12 bool SetReparsePoint(HANDLE source, const wchar_t* target); | 12 bool SetReparsePoint(HANDLE source, const wchar_t* target); |
13 | 13 |
14 // Delete the reparse point referenced by |source|. Returns true if the call | 14 // Delete the reparse point referenced by |source|. Returns true if the call |
15 // succeeds, false otherwise. | 15 // succeeds, false otherwise. |
16 bool DeleteReparsePoint(HANDLE source); | 16 bool DeleteReparsePoint(HANDLE source); |
17 | 17 |
18 #endif // SANDBOX_TESTS_COMMON_TEST_UTILS_H_ | 18 #endif // SANDBOX_TESTS_COMMON_TEST_UTILS_H_ |
19 | 19 |
OLD | NEW |