Delete unused method Win32Filesystem::GetAppPathname.

Unused since cl https://codereview.webrtc.org/2872283002.

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2934483002
Cr-Commit-Position: refs/heads/master@{#18552}
This commit is contained in:
nisse 2017-06-13 01:06:07 -07:00 committed by Commit Bot
parent 418b7d34d1
commit 687bc3e27b
2 changed files with 0 additions and 12 deletions

View File

@ -174,12 +174,4 @@ bool Win32Filesystem::GetFileTime(const Pathname& path, FileTimeType which,
return true;
}
bool Win32Filesystem::GetAppPathname(Pathname* path) {
TCHAR buffer[MAX_PATH + 1];
if (0 == ::GetModuleFileName(nullptr, buffer, arraysize(buffer)))
return false;
path->SetPathname(ToUtf8(buffer));
return true;
}
} // namespace rtc

View File

@ -60,10 +60,6 @@ class Win32Filesystem : public FilesystemInterface {
bool GetTemporaryFolder(Pathname& path,
bool create,
const std::string* append) override;
private:
// Returns the path to the running application.
bool GetAppPathname(Pathname* path);
};
} // namespace rtc