Reland "Delete Filesystem::TempFilename."
This is a reland of 6de95f06d0512049553f8120547ab78675e3a76a Original change's description: > Delete Filesystem::TempFilename. > > Also delete a few unused private members of UnixFilesystem. > > Bug: webrtc:6424 > Change-Id: Ib52f2d877690159d197fe767fd04a0d1ade7eb1a > Reviewed-on: https://webrtc-review.googlesource.com/30301 > Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> > Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#21148} Bug: webrtc:6424 Tbr: deadbeef@webrtc.org Change-Id: Ieda7bd26af51ef2bcc00e4b3197e122e005aacd5 Reviewed-on: https://webrtc-review.googlesource.com/31221 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21273}
This commit is contained in:
@ -37,20 +37,7 @@ class UnixFilesystem : public FilesystemInterface {
|
||||
// Returns true of pathname represents an existing file
|
||||
bool IsFile(const Pathname& pathname) override;
|
||||
|
||||
std::string TempFilename(const Pathname& dir,
|
||||
const std::string& prefix) override;
|
||||
|
||||
bool GetFileSize(const Pathname& path, size_t* size) override;
|
||||
|
||||
private:
|
||||
#if defined(WEBRTC_ANDROID) || defined(WEBRTC_MAC)
|
||||
static char* provided_app_data_folder_;
|
||||
static char* provided_app_temp_folder_;
|
||||
#else
|
||||
static char* app_temp_path_;
|
||||
#endif
|
||||
|
||||
static char* CopyString(const std::string& str);
|
||||
};
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Reference in New Issue
Block a user