diff options
-rw-r--r-- | chrome/installer/setup/install.cc | 4 | ||||
-rw-r--r-- | chrome/installer/util/google_update_constants.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/google_update_constants.h | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc index 91ae412..04bca30 100644 --- a/chrome/installer/setup/install.cc +++ b/chrome/installer/setup/install.cc @@ -668,6 +668,10 @@ installer_util::InstallStatus InstallNewVersion( product_name, true); // overwrite name also install_list->AddSetRegValueWorkItem(reg_root, version_key, + google_update::kRegOopcrashesField, + 1, + false); // set during first install + install_list->AddSetRegValueWorkItem(reg_root, version_key, google_update::kRegVersionField, new_version.GetString(), true); // overwrite version diff --git a/chrome/installer/util/google_update_constants.cc b/chrome/installer/util/google_update_constants.cc index 8c1a2a4..aef9c0d 100644 --- a/chrome/installer/util/google_update_constants.cc +++ b/chrome/installer/util/google_update_constants.cc @@ -23,6 +23,7 @@ const wchar_t kRegLastCheckedField[] = L"LastChecked"; const wchar_t kRegMetricsId[] = L"metricsid"; const wchar_t kRegMSIField[] = L"msi"; const wchar_t kRegNameField[] = L"name"; +const wchar_t kRegOopcrashesField[] = L"oopcrashes"; const wchar_t kRegOldVersionField[] = L"opv"; const wchar_t kRegRenameCmdField[] = L"cmd"; const wchar_t kRegRLZBrandField[] = L"brand"; diff --git a/chrome/installer/util/google_update_constants.h b/chrome/installer/util/google_update_constants.h index a8db2b5..b371de4 100644 --- a/chrome/installer/util/google_update_constants.h +++ b/chrome/installer/util/google_update_constants.h @@ -34,6 +34,7 @@ extern const wchar_t kRegLastCheckedField[]; extern const wchar_t kRegMetricsId[]; extern const wchar_t kRegMSIField[]; extern const wchar_t kRegNameField[]; +extern const wchar_t kRegOopcrashesField[]; extern const wchar_t kRegOldVersionField[]; extern const wchar_t kRegRenameCmdField[]; extern const wchar_t kRegRLZBrandField[]; |