diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-07 22:30:09 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-07 22:30:09 +0000 |
commit | 2a0d872c48cb7735194d66f23e71daa1d55713b4 (patch) | |
tree | e44049bc686efe8e2820aa0c54fe3bc958a11ed2 /chrome/browser/rlz/rlz.cc | |
parent | 35b679f1b69b4e29a9c37f258fdefc712e032fcb (diff) | |
download | chromium_src-2a0d872c48cb7735194d66f23e71daa1d55713b4.zip chromium_src-2a0d872c48cb7735194d66f23e71daa1d55713b4.tar.gz chromium_src-2a0d872c48cb7735194d66f23e71daa1d55713b4.tar.bz2 |
Clear the refferer registry entry upon succesful ping
- Is not needed after that point
BUG = 1517308
Review URL: http://codereview.chromium.org/16552
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz/rlz.cc')
-rw-r--r-- | chrome/browser/rlz/rlz.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc index bdd8abb..d65f180 100644 --- a/chrome/browser/rlz/rlz.cc +++ b/chrome/browser/rlz/rlz.cc @@ -183,8 +183,10 @@ class DailyPingTask : public Task { std::wstring referral; GoogleUpdateSettings::GetReferral(&referral); if (SendFinancialPing(brand.c_str(), lang.c_str(), referral.c_str(), - is_organic(brand))) + is_organic(brand))) { access_values_state = ACCESS_VALUES_STALE; + GoogleUpdateSettings::ClearReferral(); + } } // Organic brands all start with GG, such as GGCM. |