Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: webrtc/rtc_base/win32filesystem.h

Issue 2995413002: Delete Filesystem::GetTemporaryFolder. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/rtc_base/unixfilesystem.cc ('k') | webrtc/rtc_base/win32filesystem.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
55 // A folder appropriate for storing temporary files (Contents are
56 // automatically deleted when the program exists)
57 bool GetTemporaryFolder(Pathname& path,
58 bool create,
59 const std::string* append) override;
60 }; 54 };
61 55
62 } // namespace rtc 56 } // namespace rtc
63 57
64 #endif // WEBRTC_RTC_BASE_WIN32FILESYSTEM_H_ 58 #endif // WEBRTC_RTC_BASE_WIN32FILESYSTEM_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/unixfilesystem.cc ('k') | webrtc/rtc_base/win32filesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698