Chromium Code Reviews| Index: chrome/installer/util/shell_util.h |
| =================================================================== |
| --- chrome/installer/util/shell_util.h (revision 150342) |
| +++ chrome/installer/util/shell_util.h (working copy) |
| @@ -35,6 +35,15 @@ |
| SYSTEM_LEVEL = 0x2 // Make any shell changes only at the system level |
| }; |
| + enum VerifyShortcuts { |
| + VERIFY_SHORTCUT_SUCCESS, |
| + VERIFY_SHORTCUT_FAILURE, |
| + VERIFY_SHORTCUT_FAILURE_CREATE_SHELL_LINK_INSTANCE, |
| + VERIFY_SHORTCUT_FAILURE_QUERY_FROM_PERSIST, |
| + VERIFY_SHORTCUT_FAILURE_LOAD_FROM_PERSIST, |
| + VERIFY_SHORTCUT_FAILURE_GET_PATH_NAMES |
| + }; |
| + |
| // Relative path of the URL Protocol registry entry (prefixed with '\'). |
| static const wchar_t* kRegURLProtocol; |
| @@ -442,6 +451,15 @@ |
| // bytes. |
| static string16 ByteArrayToBase32(const uint8* bytes, size_t size); |
| + // Verify that a shortcut exists with the expected information. |
| + // |exe_path| The shortcut's exe. |
| + // |shortcut| The path to shortcut. |
| + // |description| The shortcut's description. |
| + // |icon_index| The icon's index in the exe. |
| + static VerifyShortcuts VerifyChromeShortcut(const string16& exe_path, |
|
gab
2012/08/08 20:41:14
Also move this to align it with its new position i
gab
2012/08/09 02:52:32
Ping.
Halli
2012/08/09 16:07:57
Done.
|
| + const string16& shortcut, |
| + const string16& description, |
| + int icon_index); |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ShellUtil); |
| }; |