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

Unified Diff: base/base_paths_win.cc

Issue 11368040: Introduce RemoveChromeTaskbarShortcuts() to delete all pinned-to-taskbar shortcuts owned by the uni… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dear robert@garage Created 8 years, 1 month 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
Index: base/base_paths_win.cc
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc
index 58c3ea549287b2266dac49814f5325b58fa539e9..a06d9084550436966e99f485b922d7a144c5609a 100644
--- a/base/base_paths_win.cc
+++ b/base/base_paths_win.cc
@@ -192,6 +192,12 @@ bool PathProviderWin(int key, FilePath* result) {
if (!GetQuickLaunchPath(true, &cur))
return false;
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");
+ break;
default:
return false;
}

Powered by Google App Engine
This is Rietveld 408576698