summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/rlz')
-rw-r--r--chrome/browser/rlz/rlz.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index b13af4f..ed63189 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -108,13 +108,13 @@ bool LoadRLZLibrary(int directory_key) {
}
bool SendFinancialPing(const wchar_t* brand, const wchar_t* lang,
- bool exclude_id) {
+ const wchar_t* client, bool exclude_id) {
RLZTracker::AccessPoint points[] = {RLZTracker::CHROME_OMNIBOX,
RLZTracker::CHROME_HOME_PAGE,
RLZTracker::NO_ACCESS_POINT};
if (!send_ping)
return false;
- return send_ping(RLZTracker::CHROME, points, L"chrome", brand, NULL, lang,
+ return send_ping(RLZTracker::CHROME, points, L"chrome", brand, client, lang,
exclude_id, NULL);
}
@@ -180,7 +180,10 @@ class DailyPingTask : public Task {
lang = L"en";
std::wstring brand;
GoogleUpdateSettings::GetBrand(&brand);
- if (SendFinancialPing(brand.c_str(), lang.c_str(), is_organic(brand)))
+ std::wstring client;
+ GoogleUpdateSettings::GetClient(&client);
+ if (SendFinancialPing(brand.c_str(), lang.c_str(), client.c_str(),
+ is_organic(brand)))
access_values_state = ACCESS_VALUES_STALE;
}