diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 01:56:19 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 01:56:19 +0000 |
commit | e6e6ba4925feed48fbbd0568b07d8ccb6569eeee (patch) | |
tree | fc2fc1bc4d4a56fb413709a977b6ba42ab27af46 /chrome/browser/shell_integration.h | |
parent | daefca3e87d6d36f0e6a58e3b0ff60917f285acb (diff) | |
download | chromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.zip chromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.tar.gz chromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.tar.bz2 |
Ninth patch in making destructors of refcounted objects private.
BUG=26749
Review URL: http://codereview.chromium.org/372013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.h')
-rw-r--r-- | chrome/browser/shell_integration.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h index 8b90d6a..7558121 100644 --- a/chrome/browser/shell_integration.h +++ b/chrome/browser/shell_integration.h @@ -93,7 +93,6 @@ class ShellIntegration { : public base::RefCountedThreadSafe<DefaultBrowserWorker> { public: explicit DefaultBrowserWorker(DefaultBrowserObserver* observer); - virtual ~DefaultBrowserWorker() {} // Checks if Chrome is the default browser. void StartCheckDefaultBrowser(); @@ -105,6 +104,10 @@ class ShellIntegration { void ObserverDestroyed(); private: + friend class base::RefCountedThreadSafe<DefaultBrowserWorker>; + + virtual ~DefaultBrowserWorker() {} + // Functions that track the process of checking if Chrome is the default // browser. |ExecuteCheckDefaultBrowser| checks the registry on the file // thread. |CompleteCheckDefaultBrowser| notifies the view to update on the |