summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorgwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 19:36:03 +0000
committergwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 19:36:03 +0000
commit27845cac2c3443eca508003c3951739e88ae8f24 (patch)
treed772e3f622144f044b3b45542fc8ebc365c193a9 /chrome/browser
parentd604e96bed6afbdac45ed4d4318aab7bf693bd0b (diff)
downloadchromium_src-27845cac2c3443eca508003c3951739e88ae8f24.zip
chromium_src-27845cac2c3443eca508003c3951739e88ae8f24.tar.gz
chromium_src-27845cac2c3443eca508003c3951739e88ae8f24.tar.bz2
Change "client" parameter in RLZ ping to "referral"
to match Omaha's changes. BUG=1520348 Review URL: http://codereview.chromium.org/12975 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/rlz/rlz.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index ed63189..bdd8abb 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,
- const wchar_t* client, bool exclude_id) {
+ const wchar_t* referral, 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, client, lang,
+ return send_ping(RLZTracker::CHROME, points, L"chrome", brand, referral, lang,
exclude_id, NULL);
}
@@ -180,9 +180,9 @@ class DailyPingTask : public Task {
lang = L"en";
std::wstring brand;
GoogleUpdateSettings::GetBrand(&brand);
- std::wstring client;
- GoogleUpdateSettings::GetClient(&client);
- if (SendFinancialPing(brand.c_str(), lang.c_str(), client.c_str(),
+ std::wstring referral;
+ GoogleUpdateSettings::GetReferral(&referral);
+ if (SendFinancialPing(brand.c_str(), lang.c_str(), referral.c_str(),
is_organic(brand)))
access_values_state = ACCESS_VALUES_STALE;
}