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

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

Issue 174194: Re-apply r23841 "During uninstall if Chrome is set as default" (Closed)
Patch Set: update for combobox model changes Created 11 years, 4 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/chrome.gyp ('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
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index ca6eac71967f4609379d3aec40ba9d82693455b7..99f88b88ba34c2b09044da55e090fe5d3a26d93c 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -10,6 +10,7 @@
#define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_
#include <windows.h>
+#include <map>
#include <string>
#include "base/basictypes.h"
@@ -139,6 +140,11 @@ class ShellUtil {
// User's profile only affects any new user profiles (not existing ones).
static bool GetQuickLaunchPath(bool system_level, std::wstring* path);
+ // Gets a mapping of all registered browser (on local machine) names and
+ // thier reinstall command (which usually sets browser as default).
+ static void GetRegisteredBrowsers(std::map<std::wstring,
+ std::wstring>* browsers);
+
// This function gets a suffix (user's login name) that can be added
// to Chromium default browser entry in the registry to create a unique name
// if there are multiple users on the machine, each with their own copy of
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698