Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6014)

Unified Diff: chrome/installer/util/shell_util.h

Issue 11359133: Add default icon to app_host.exe, and use it in shortcuts during installation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing comments; renaming. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index b521527f9f3e6020bf76d3b704e01fea0e90cad8..2f745f5ef6bfcffb18965619aa2497c81d06896f 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.

Powered by Google App Engine
This is Rietveld 408576698