From 4663213354a9c41ab0e5a785d52bf5c9a9692514 Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Wed, 28 Jan 2009 21:53:16 +0000 Subject: 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 --- chrome/browser/rlz/rlz.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/rlz/rlz.h') 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); }; -- cgit v1.1