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

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: 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') | chrome/installer/setup/install_unittest.cc » ('J')
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..0c062552bbdf433cb9f2b88014e82351c68f9334 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 paths ends with |old_target_path_suffix|.
gab 2016/03/16 21:57:30 s/paths/path/
fdoray 2016/03/17 00:50:34 Done.
+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') | chrome/installer/setup/install_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698