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 |
11 #ifndef WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ | 11 #ifndef WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ |
12 #define WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ | 12 #define WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ |
13 | 13 |
14 #include <sys/types.h> | 14 #include <sys/types.h> |
15 | 15 |
16 #include "webrtc/base/fileutils.h" | 16 #include "webrtc/rtc_base/fileutils.h" |
17 | 17 |
18 namespace rtc { | 18 namespace rtc { |
19 | 19 |
20 class UnixFilesystem : public FilesystemInterface { | 20 class UnixFilesystem : public FilesystemInterface { |
21 public: | 21 public: |
22 UnixFilesystem(); | 22 UnixFilesystem(); |
23 ~UnixFilesystem() override; | 23 ~UnixFilesystem() override; |
24 | 24 |
25 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_MAC) | 25 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_MAC) |
26 // Android does not have a native code API to fetch the app data or temp | 26 // Android does not have a native code API to fetch the app data or temp |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #else | 80 #else |
81 static char* app_temp_path_; | 81 static char* app_temp_path_; |
82 #endif | 82 #endif |
83 | 83 |
84 static char* CopyString(const std::string& str); | 84 static char* CopyString(const std::string& str); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace rtc | 87 } // namespace rtc |
88 | 88 |
89 #endif // WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ | 89 #endif // WEBRTC_RTC_BASE_UNIXFILESYSTEM_H_ |
OLD | NEW |