Chromium Code Reviews| Index: chrome/installer/setup/update_per_user_shortcuts_in_location.h |
| diff --git a/chrome/installer/setup/update_per_user_shortcuts_in_location.h b/chrome/installer/setup/update_per_user_shortcuts_in_location.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..199f5b64f4890a7588740e44dc44b09b75518cee |
| --- /dev/null |
| +++ b/chrome/installer/setup/update_per_user_shortcuts_in_location.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_PER_USER_SHORTCUTS_IN_LOCATION_H_ |
| +#define CHROME_INSTALLER_SETUP_UPDATE_PER_USER_SHORTCUTS_IN_LOCATION_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 starting with |old_target_path_prefix| and ending with |
| +// |old_target_path_suffix| in the location specified by |shortcut_location| and |
| +// |dist|. |
| +void UpdatePerUserShortcutsInLocation( |
|
gab
2016/03/10 06:01:03
Actually, given this is not used from anywhere els
fdoray
2016/03/10 14:32:46
Done.
|
| + const ShellUtil::ShortcutLocation shortcut_location, |
| + 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_PER_USER_SHORTCUTS_IN_LOCATION_H_ |