summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/browser_distribution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/browser_distribution.cc')
-rw-r--r--chrome/installer/util/browser_distribution.cc22
1 files changed, 9 insertions, 13 deletions
diff --git a/chrome/installer/util/browser_distribution.cc b/chrome/installer/util/browser_distribution.cc
index f34df7c..6ca1b42 100644
--- a/chrome/installer/util/browser_distribution.cc
+++ b/chrome/installer/util/browser_distribution.cc
@@ -244,19 +244,15 @@ bool BrowserDistribution::GetDelegateExecuteHandlerData(
string16* type_lib_uuid,
string16* type_lib_version,
string16* interface_uuid) {
- // Chrome's DelegateExecute verb handler is only used for Windows 8 and up.
- if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
- if (handler_class_uuid)
- *handler_class_uuid = kCommandExecuteImplUuid;
- if (type_lib_uuid)
- *type_lib_uuid = kDelegateExecuteLibUuid;
- if (type_lib_version)
- *type_lib_version = kDelegateExecuteLibVersion;
- if (interface_uuid)
- *interface_uuid = kICommandExecuteImplUuid;
- return true;
- }
- return false;
+ if (handler_class_uuid)
+ *handler_class_uuid = kCommandExecuteImplUuid;
+ if (type_lib_uuid)
+ *type_lib_uuid = kDelegateExecuteLibUuid;
+ if (type_lib_version)
+ *type_lib_version = kDelegateExecuteLibVersion;
+ if (interface_uuid)
+ *interface_uuid = kICommandExecuteImplUuid;
+ return true;
}
void BrowserDistribution::UpdateInstallStatus(bool system_install,