summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/shell_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/shell_util.h')
-rw-r--r--chrome/installer/util/shell_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index 5539729..a8f6beb 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -72,6 +72,12 @@ class ShellUtil {
// Registry value name that is needed for ChromeHTML ProgId
static const wchar_t* kRegUrlProtocol;
+ // Name that we give to Chrome extension file association handler ProgId.
+ static const wchar_t* kChromeExtProgId;
+
+ // Description of Chrome file/URL association handler ProgId.
+ static const wchar_t* kChromeExtProgIdDesc;
+
// This method adds Chrome to the list that shows up in Add/Remove Programs->
// Set Program Access and Defaults and also creates Chrome ProgIds under
// Software\Classes. This method requires write access to HKLM so is just
@@ -128,6 +134,11 @@ class ShellUtil {
// chrome_exe: the full path to chrome.exe
static std::wstring GetChromeShellOpenCmd(const std::wstring& chrome_exe);
+ // This method returns the command to open .crx files using chrome in order
+ // to install them as extensions. Similar to above method.
+ static std::wstring GetChromeInstallExtensionCmd(
+ const std::wstring& chrome_exe);
+
// Returns the localized name of Chrome shortcut.
static bool GetChromeShortcutName(std::wstring* shortcut);