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

Unified Diff: app/win_util.cc

Issue 536028: Split win_util.cc - we need the code in ConvertToLongPath in the 64-bit Windows build (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « app/app_base.gypi ('k') | app/win_util_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/win_util.cc
===================================================================
--- app/win_util.cc (revision 36113)
+++ app/win_util.cc (working copy)
@@ -132,19 +132,6 @@
return output;
}
-bool ConvertToLongPath(const std::wstring& short_path,
- std::wstring* long_path) {
- wchar_t long_path_buf[MAX_PATH];
- DWORD return_value = GetLongPathName(short_path.c_str(), long_path_buf,
- MAX_PATH);
- if (return_value != 0 && return_value < MAX_PATH) {
- *long_path = long_path_buf;
- return true;
- }
-
- return false;
-}
-
bool IsDoubleClick(const POINT& origin,
const POINT& current,
DWORD elapsed_time) {
« no previous file with comments | « app/app_base.gypi ('k') | app/win_util_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698