diff options
author | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 04:13:49 +0000 |
---|---|---|
committer | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 04:13:49 +0000 |
commit | 9c91fc2b8a286096e2914a55305aff5a8ad53c3c (patch) | |
tree | 788cc398aeb77cab23c1ba256da1b55b964ce4c1 /chrome/installer/util/shell_util.h | |
parent | c77745df642b8143389f15119c90af5dda3b4167 (diff) | |
download | chromium_src-9c91fc2b8a286096e2914a55305aff5a8ad53c3c.zip chromium_src-9c91fc2b8a286096e2914a55305aff5a8ad53c3c.tar.gz chromium_src-9c91fc2b8a286096e2914a55305aff5a8ad53c3c.tar.bz2 |
Add default icon to app_host.exe, and use it in shortcuts during installation.
BUG=151626
TBR=ben@
Review URL: https://chromiumcodereview.appspot.com/11359133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/shell_util.h')
-rw-r--r-- | chrome/installer/util/shell_util.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h index b521527..2f745f5 100644 --- a/chrome/installer/util/shell_util.h +++ b/chrome/installer/util/shell_util.h @@ -312,12 +312,9 @@ class ShellUtil { const ShellUtil::ShortcutProperties& properties, ShellUtil::ShortcutOperation operation); - // This method appends the Chrome icon index inside chrome.exe to the - // chrome.exe path passed in as input, to generate the full path for - // Chrome icon that can be used as value for Windows registry keys. - // |chrome_exe| full path to chrome.exe. - static string16 GetChromeIcon(BrowserDistribution* dist, - const string16& chrome_exe); + // Returns the string "|icon_path|,|icon_index|" (see, for example, + // http://msdn.microsoft.com/library/windows/desktop/dd391573.aspx). + static string16 FormatIconLocation(const string16& icon_path, int icon_index); // This method returns the command to open URLs/files using chrome. Typically // this command is written to the registry under shell\open\command key. |