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

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

Issue 10386167: Always do DelegateExecute handler COM registration and make set dual mode prop on shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 45eaf52c7d87fe8081e37e4a5f4755e9f79133db..7753fc646e646d9b718a05314eb5e0f3a4d5ea6a 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -92,6 +92,7 @@ class RegistryEntry {
// TODO(grt): remove HasDelegateExecuteHandler when the exe is ever-present;
// see also install_worker.cc's AddDelegateExecuteWorkItems.
bool set_delegate_execute =
+ base::win::GetVersion() >= base::win::VERSION_WIN8 &&
dist->GetDelegateExecuteHandlerData(&delegate_guid, NULL, NULL, NULL) &&
InstallUtil::HasDelegateExecuteHandler(dist, chrome_exe);
« base/win/win_util.cc ('K') | « chrome/installer/util/google_chrome_distribution.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698