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

Unified Diff: chrome/installer/util/shell_util.h

Issue 1289333005: Change shortcut install location to non-subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move shortcut instead of delete/create Created 5 years, 2 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
Index: chrome/installer/util/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index 5b35e1185ce36f38aed6962fecd9b8ffd16e881b..65fd57010d041509221679c57ba8b26b5cb10644 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -330,6 +330,15 @@ class ShellUtil {
ShellChange level,
base::FilePath* path);
+ // Move an existing shortcut from |old_location| to |new_location| for the
+ // set |shortcut_level|.
+ static bool ShellUtil::MoveExistingShortcut(
+ ShellUtil::ShellChange shortcut_level,
+ BrowserDistribution* dist,
+ const ShellUtil::ShortcutProperties& properties,
+ ShellUtil::ShortcutLocation old_location,
+ ShellUtil::ShortcutLocation new_location);
+
// Updates shortcut in |location| (or creates it if |options| specify
// SHELL_SHORTCUT_CREATE_ALWAYS).
// |dist| gives the type of browser distribution currently in use.

Powered by Google App Engine
This is Rietveld 408576698