Delete unused methods on rtc::Pathname.
Deleted methods Normalize(), clear(), empty(), folder(), parent_folder(). Bug: webrtc:6424 Change-Id: I7a7096b23f4ba675305de1728988d2cfb48f135f Reviewed-on: https://webrtc-review.googlesource.com/80520 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23623}
This commit is contained in:
@ -52,16 +52,6 @@ public:
|
||||
Pathname& operator=(const Pathname&);
|
||||
Pathname& operator=(Pathname&&);
|
||||
|
||||
// Normalize changes all folder delimiters to folder_delimiter()
|
||||
void Normalize();
|
||||
|
||||
// Reset to the empty pathname
|
||||
void clear();
|
||||
|
||||
// Returns true if the pathname is empty. Note: this->pathname().empty()
|
||||
// is always false.
|
||||
bool empty() const;
|
||||
|
||||
// Returns the folder and filename components. If the pathname is empty,
|
||||
// returns a string representing the current directory (as a relative path,
|
||||
// i.e., ".").
|
||||
@ -69,8 +59,6 @@ public:
|
||||
void SetPathname(const std::string& pathname);
|
||||
void SetPathname(const std::string& folder, const std::string& filename);
|
||||
|
||||
std::string folder() const;
|
||||
std::string parent_folder() const;
|
||||
// SetFolder and AppendFolder will append a folder delimiter, if needed.
|
||||
void SetFolder(const std::string& folder);
|
||||
void AppendFolder(const std::string& folder);
|
||||
|
||||
Reference in New Issue
Block a user