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

Unified Diff: webrtc/base/win32filesystem.cc

Issue 2934483002: Delete unused method Win32Filesystem::GetAppPathname. (Closed)
Patch Set: Rebased. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/win32filesystem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/win32filesystem.cc
diff --git a/webrtc/base/win32filesystem.cc b/webrtc/base/win32filesystem.cc
index 9a075c1e9e745437bede9fdc607914df53bc0846..faca8e9c08fb80536017173a639269cac2e1f054 100644
--- a/webrtc/base/win32filesystem.cc
+++ b/webrtc/base/win32filesystem.cc
@@ -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
« no previous file with comments | « webrtc/base/win32filesystem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698