Index: chrome/installer/util/google_update_settings.cc |
diff --git a/chrome/installer/util/google_update_settings.cc b/chrome/installer/util/google_update_settings.cc |
index 7b2fbc3a66116aaed2e5d4da2759593284afca18..6c9bf678ac29e59d43005f4a94c995bbaa34e44f 100644 |
--- a/chrome/installer/util/google_update_settings.cc |
+++ b/chrome/installer/util/google_update_settings.cc |
@@ -546,8 +546,8 @@ bool GoogleUpdateSettings::UpdateGoogleUpdateApKey( |
return modified; |
} |
-void GoogleUpdateSettings::UpdateProfileCounts(int profiles_active, |
- int profiles_signedin) { |
+void GoogleUpdateSettings::UpdateProfileCounts(size_t profiles_active, |
+ size_t profiles_signedin) { |
BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
// System-level installs must write into the ClientStateMedium key shared by |
// all users. Special treatment is used to aggregate across those users. |
@@ -569,10 +569,10 @@ void GoogleUpdateSettings::UpdateProfileCounts(int profiles_active, |
// user-level installs. |
WriteGoogleUpdateStrKeyInternal(dist->GetAppRegistrationData(), |
google_update::kRegProfilesActive, |
- base::IntToString16(profiles_active)); |
+ base::SizeTToString16(profiles_active)); |
WriteGoogleUpdateStrKeyInternal(dist->GetAppRegistrationData(), |
google_update::kRegProfilesSignedIn, |
- base::IntToString16(profiles_signedin)); |
+ base::SizeTToString16(profiles_signedin)); |
} |
} |