| OLD | NEW |
| 1 // Copyright (c) 2012 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 BASE_TEST_TEST_FILE_UTIL_H_ | 5 #ifndef BASE_TEST_TEST_FILE_UTIL_H_ |
| 6 #define BASE_TEST_TEST_FILE_UTIL_H_ | 6 #define BASE_TEST_TEST_FILE_UTIL_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 // File utility functions used only by tests. | 8 // File utility functions used only by tests. |
| 10 | 9 |
| 11 #include <string> | 10 #include <string> |
| 12 | 11 |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 14 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 15 | 14 |
| 16 class FilePath; | 15 class FilePath; |
| 17 | 16 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const FilePath path_; | 66 const FilePath path_; |
| 68 void* info_; // The opaque stored permission information. | 67 void* info_; // The opaque stored permission information. |
| 69 size_t length_; // The length of the stored permission information. | 68 size_t length_; // The length of the stored permission information. |
| 70 | 69 |
| 71 DISALLOW_COPY_AND_ASSIGN(PermissionRestorer); | 70 DISALLOW_COPY_AND_ASSIGN(PermissionRestorer); |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } // namespace file_util | 73 } // namespace file_util |
| 75 | 74 |
| 76 #endif // BASE_TEST_TEST_FILE_UTIL_H_ | 75 #endif // BASE_TEST_TEST_FILE_UTIL_H_ |
| OLD | NEW |