Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / sandbox / win / tests / common / test_utils.h
blob9e1766076edaac3abe36c72a40b27b10908ef7f5
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
3 // found in the LICENSE file.
5 #ifndef SANDBOX_TESTS_COMMON_TEST_UTILS_H_
6 #define SANDBOX_TESTS_COMMON_TEST_UTILS_H_
8 #include <windows.h>
10 // Sets a reparse point. |source| will now point to |target|. Returns true if
11 // the call succeeds, false otherwise.
12 bool SetReparsePoint(HANDLE source, const wchar_t* target);
14 // Delete the reparse point referenced by |source|. Returns true if the call
15 // succeeds, false otherwise.
16 bool DeleteReparsePoint(HANDLE source);
18 #endif // SANDBOX_TESTS_COMMON_TEST_UTILS_H_