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

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 6961013: Allow chrome to become the os default handler for arbitrary protocols on mac/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More changes for comments; fix for a bug introduced with DefaultWebClientWorker refactoring Created 9 years, 7 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
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 6aeee430051aa54318d8d406e11e72c7d7cab7ca..c2200badb62ab44d2095f2bc8f883f4e4cfe051c 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -559,8 +559,10 @@ bool DeleteChromeRegistrationKeys(BrowserDistribution* dist, HKEY root,
std::wstring parent_key(ShellUtil::kRegClasses);
const std::wstring::size_type base_length = parent_key.size();
std::wstring child_key;
- for (const wchar_t* const* proto = &ShellUtil::kProtocolAssociations[0];
- *proto != NULL; ++proto) {
+ for (const wchar_t* const* proto =
+ &ShellUtil::kPotentialProtocolAssociations[0];
+ *proto != NULL;
+ ++proto) {
parent_key.resize(base_length);
file_util::AppendToPath(&parent_key, *proto);
child_key.assign(parent_key).append(ShellUtil::kRegShellOpen);

Powered by Google App Engine
This is Rietveld 408576698