OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 // All of the following functions set pathname and return true if successful. | 45 // All of the following functions set pathname and return true if successful. |
46 // Returned paths always include a trailing backslash. | 46 // Returned paths always include a trailing backslash. |
47 // If create is true, the path will be recursively created. | 47 // If create is true, the path will be recursively created. |
48 // If append is non-null, it will be appended (and possibly created). | 48 // If append is non-null, it will be appended (and possibly created). |
49 | 49 |
50 std::string TempFilename(const Pathname& dir, | 50 std::string TempFilename(const Pathname& dir, |
51 const std::string& prefix) override; | 51 const std::string& prefix) override; |
52 | 52 |
53 bool GetFileSize(const Pathname& path, size_t* size) override; | 53 bool GetFileSize(const Pathname& path, size_t* size) override; |
54 bool GetFileTime(const Pathname& path, | |
55 FileTimeType which, | |
56 time_t* time) override; | |
57 | 54 |
58 // A folder appropriate for storing temporary files (Contents are | 55 // A folder appropriate for storing temporary files (Contents are |
59 // automatically deleted when the program exists) | 56 // automatically deleted when the program exists) |
60 bool GetTemporaryFolder(Pathname& path, | 57 bool GetTemporaryFolder(Pathname& path, |
61 bool create, | 58 bool create, |
62 const std::string* append) override; | 59 const std::string* append) override; |
63 }; | 60 }; |
64 | 61 |
65 } // namespace rtc | 62 } // namespace rtc |
66 | 63 |
67 #endif // WEBRTC_WINFILESYSTEM_H__ | 64 #endif // WEBRTC_WINFILESYSTEM_H__ |
OLD | NEW |