diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-28 21:53:16 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-28 21:53:16 +0000 |
commit | 4663213354a9c41ab0e5a785d52bf5c9a9692514 (patch) | |
tree | e171f81dc4e0bd37b993b077a69ea5199a42d7b6 /chrome/browser/rlz/rlz.h | |
parent | bc90a55d0dd209e0d3a1c719f54226becb045dd8 (diff) | |
download | chromium_src-4663213354a9c41ab0e5a785d52bf5c9a9692514.zip chromium_src-4663213354a9c41ab0e5a785d52bf5c9a9692514.tar.gz chromium_src-4663213354a9c41ab0e5a785d52bf5c9a9692514.tar.bz2 |
Adds cleanup code to RLZ so that we don't leak an OmniBoxUsageObserver
on shutdown. This came up in running in process ui tests through
purify.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/19428
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz/rlz.h')
-rw-r--r-- | chrome/browser/rlz/rlz.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h index 23aa88b..69199ae 100644 --- a/chrome/browser/rlz/rlz.h +++ b/chrome/browser/rlz/rlz.h @@ -89,6 +89,9 @@ class RLZTracker { // when it is un-installed. static bool ClearAllProductEvents(Product product); + // Invoked during shutdown to clean up any state created by RLZTracker. + static void CleanupRlz(); + private: DISALLOW_IMPLICIT_CONSTRUCTORS(RLZTracker); }; |