| Index: base/win/shortcut.h
|
| diff --git a/base/win/shortcut.h b/base/win/shortcut.h
|
| index 0f5fb0f686be84e521f8ee403a5a3b903053c353..cb0771274b0f8020e3cdcf55d136557f2ba0e50b 100644
|
| --- a/base/win/shortcut.h
|
| +++ b/base/win/shortcut.h
|
| @@ -118,11 +118,22 @@ BASE_EXPORT bool CreateOrUpdateShortcutLink(
|
| ShortcutOperation operation);
|
|
|
| // Resolve Windows shortcut (.LNK file)
|
| -// This methods tries to resolve a shortcut .LNK file. The path of the shortcut
|
| -// to resolve is in |shortcut_path|. If |target_path| is not NULL, the target
|
| -// will be resolved and placed in |target_path|. If |args| is not NULL, the
|
| -// arguments will be retrieved and placed in |args|. The function returns true
|
| -// if all requested fields are found successfully.
|
| +// This methods tries to resolve selected properties of a shortcut .LNK file.
|
| +// The path of the shortcut to resolve is in |shortcut_path|. |options| is a bit
|
| +// field composed of ShortcutProperties::IndividualProperties, to specify which
|
| +// properties to read. The resulting data are read into |p| (non-NULL). The
|
| +// function returns true if all requested properties are successfully read.
|
| +// Otherwise some reads have failed, and intermediate values written to
|
| +// |properties| should be ignored.
|
| +BASE_EXPORT bool ResolveShortcutProperties(const FilePath& shortcut_path,
|
| + uint32 options,
|
| + ShortcutProperties* p);
|
| +
|
| +// Resolve Windows shortcut (.LNK file).
|
| +// This is a wrapper to ResolveShortcutProperties() to handle the commonly used
|
| +// cases of resolving target and arguments. |target_path| and |args| are
|
| +// optional output variables that are ignored if NULL.
|
| +// The function returns true if all requested fields are found successfully.
|
| // Callers can safely use the same variable for both |shortcut_path| and
|
| // |target_path|.
|
| BASE_EXPORT bool ResolveShortcut(const FilePath& shortcut_path,
|
|
|