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

Side by Side Diff: chrome/installer/setup/update_shortcuts.h

Issue 1780693002: Fix the path of Chrome shortcuts from the 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_
6 #define CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_
7
8 #include "chrome/installer/util/shell_util.h"
9
10 namespace base {
11 class FilePath;
12 }
13
14 class BrowserDistribution;
15
16 namespace installer {
17
18 // Sets |new_target_path| as the new target path of all shortcuts having an
19 // existing target path matching |old_target_path_prefix| and
gab 2016/03/09 20:10:44 s/matching/starting with/
fdoray 2016/03/09 22:13:03 Done.
20 // |old_target_path_suffix| in the location specified by |shortcut_location|,
gab 2016/03/09 20:10:44 s/and/and ending with/
fdoray 2016/03/09 22:13:03 Done.
21 // |shortcut_level| and |dist|.
gab 2016/03/09 20:10:44 s/ and/, and/
fdoray 2016/03/09 22:13:03 no longer applies
22 void UpdateShortcuts(const ShellUtil::ShortcutLocation shortcut_location,
gab 2016/03/09 20:10:44 A more specific name would be nice (we already hav
fdoray 2016/03/09 22:13:03 Done.
23 const ShellUtil::ShellChange shortcut_level,
24 BrowserDistribution* dist,
25 const base::FilePath& old_target_path_prefix,
26 const base::FilePath& old_target_path_suffix,
27 const base::FilePath& new_target_path);
28
29 } // namespace installer
30
31 #endif // CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698