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

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

Issue 19758: ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months 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
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.h
===================================================================
--- chrome/installer/util/shell_util.h (revision 8822)
+++ chrome/installer/util/shell_util.h (working copy)
@@ -72,6 +72,15 @@
// Registry value name that is needed for ChromeHTML ProgId
static const wchar_t* kRegUrlProtocol;
+ // Populate work_item_list with WorkItem entries that will add chrome.exe to
+ // the set of App Paths registry keys so that ShellExecute can find it. Note
+ // that this is done in HKLM, regardless of whether this is a single-user
+ // install or not. For non-admin users, this will fail.
+ // chrome_exe: full path to chrome.exe
+ // work_item_list: pointer to the WorkItemList that will be populated
+ static void AddChromeAppPathWorkItems(const std::wstring& chrome_exe,
+ WorkItemList* work_item_list);
+
// 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
@@ -177,6 +186,7 @@
static bool UpdateChromeShortcut(const std::wstring& chrome_exe,
const std::wstring& shortcut,
bool create_new);
+
private:
DISALLOW_EVIL_CONSTRUCTORS(ShellUtil);
};
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698