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 SANDBOX_SRC_FILESYSTEM_POLICY_H__ | 5 #ifndef SANDBOX_SRC_FILESYSTEM_POLICY_H__ |
6 #define SANDBOX_SRC_FILESYSTEM_POLICY_H__ | 6 #define SANDBOX_SRC_FILESYSTEM_POLICY_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "sandbox/win/src/crosscall_server.h" | 11 #include "sandbox/win/src/crosscall_server.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 }; | 98 }; |
99 | 99 |
100 // Expands the path and check if it's a reparse point. Returns false if | 100 // Expands the path and check if it's a reparse point. Returns false if |
101 // we cannot determine or if there is an unexpected error. In that case | 101 // we cannot determine or if there is an unexpected error. In that case |
102 // the path cannot be trusted. | 102 // the path cannot be trusted. |
103 bool PreProcessName(const std::wstring& path, std::wstring* new_path); | 103 bool PreProcessName(const std::wstring& path, std::wstring* new_path); |
104 | 104 |
105 } // namespace sandbox | 105 } // namespace sandbox |
106 | 106 |
107 #endif // SANDBOX_SRC_FILESYSTEM_POLICY_H__ | 107 #endif // SANDBOX_SRC_FILESYSTEM_POLICY_H__ |
OLD | NEW |