Chromium Code Reviews| Index: chrome/installer/setup/update_shortcuts.h |
| diff --git a/chrome/installer/setup/update_shortcuts.h b/chrome/installer/setup/update_shortcuts.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..efc3a93887552104b001c4976ab3d1b4a1409fd3 |
| --- /dev/null |
| +++ b/chrome/installer/setup/update_shortcuts.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_ |
| +#define CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_ |
| + |
| +#include "chrome/installer/util/shell_util.h" |
| + |
| +namespace base { |
| +class FilePath; |
| +} |
| + |
| +class BrowserDistribution; |
| + |
| +namespace installer { |
| + |
| +// Sets |new_target_path| as the new target path of all shortcuts having an |
| +// 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.
|
| +// |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.
|
| +// |shortcut_level| and |dist|. |
|
gab
2016/03/09 20:10:44
s/ and/, and/
fdoray
2016/03/09 22:13:03
no longer applies
|
| +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.
|
| + const ShellUtil::ShellChange shortcut_level, |
| + BrowserDistribution* dist, |
| + const base::FilePath& old_target_path_prefix, |
| + const base::FilePath& old_target_path_suffix, |
| + const base::FilePath& new_target_path); |
| + |
| +} // namespace installer |
| + |
| +#endif // CHROME_INSTALLER_SETUP_UPDATE_SHORTCUTS_H_ |