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

Unified Diff: chrome/installer/setup/install.h

Issue 1803383002: Don't update Canary shortcuts from Dev/Beta/Stable installer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Normalize file paths. Created 4 years, 9 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 | « no previous file | chrome/installer/setup/install.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/install.h
diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h
index 5eac8e21d5b4d2ae1fe97f4fc84158001944c736..9cab9f7a9246ad9613c2ee20ba67783c0ed63ab8 100644
--- a/chrome/installer/setup/install.h
+++ b/chrome/installer/setup/install.h
@@ -50,6 +50,17 @@ enum InstallShortcutLevel {
ALL_USERS,
};
+// Sets |new_target_path| as the new target path of all shortcuts in the
+// location specified by |shortcut_location| and |dist| which point to a file:
+// - In |old_target_dir| or one of its subdirectories, and,
+// - Whose path ends with |old_target_path_suffix|.
+void UpdatePerUserShortcutsInLocation(
+ const ShellUtil::ShortcutLocation shortcut_location,
+ BrowserDistribution* dist,
+ const base::FilePath& old_target_dir,
+ const base::FilePath& old_target_path_suffix,
+ const base::FilePath& new_target_path);
+
// Escape |att_value| as per the XML AttValue production
// (http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue) for a value in
// single quotes.
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698