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

Unified Diff: base/base_paths_win.cc

Issue 2083813002: Remove references to deprecated version of Windows in base_paths.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « base/base_paths_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_win.cc
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc
index 86ca4502f53b95e0c3dd7737b01ad22a6d0d28de..03adb1e1c95634e86823ac264bb4c9b7b78e2789 100644
--- a/base/base_paths_win.cc
+++ b/base/base_paths_win.cc
@@ -166,15 +166,15 @@ bool PathProviderWin(int key, FilePath* result) {
// Windows.
// http://stackoverflow.com/questions/76080/how-do-you-reliably-get-the-quick-
// http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept05/hey0901.mspx
- cur = cur.AppendASCII("Microsoft")
- .AppendASCII("Internet Explorer")
- .AppendASCII("Quick Launch");
+ cur = cur.Append(FILE_PATH_LITERAL("Microsoft"))
+ .Append(FILE_PATH_LITERAL("Internet Explorer"))
Mark Mentovai 2016/06/20 22:17:26 I would have thought that clang-format would line
Patrick Monette 2016/06/20 22:35:39 I've rechecked and I confirm that this is what cla
+ .Append(FILE_PATH_LITERAL("Quick Launch"));
break;
case base::DIR_TASKBAR_PINS:
if (!PathService::Get(base::DIR_USER_QUICK_LAUNCH, &cur))
return false;
- cur = cur.AppendASCII("User Pinned");
- cur = cur.AppendASCII("TaskBar");
+ cur = cur.Append(FILE_PATH_LITERAL("User Pinned"));
+ cur = cur.Append(FILE_PATH_LITERAL("TaskBar"));
break;
case base::DIR_WINDOWS_FONTS:
if (FAILED(SHGetFolderPath(
« no previous file with comments | « base/base_paths_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698