diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 06:17:13 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 06:17:13 +0000 |
commit | 91b06c06d2aec6a38a408d97a7991ea4a233d0f6 (patch) | |
tree | 1a2c42647eb55cd59995faecb0397e134a04c428 /chrome/browser/browsing_data_quota_helper_impl.h | |
parent | 3e2dd4fa0baff84af0a1c821328b4b17d128717e (diff) | |
download | chromium_src-91b06c06d2aec6a38a408d97a7991ea4a233d0f6.zip chromium_src-91b06c06d2aec6a38a408d97a7991ea4a233d0f6.tar.gz chromium_src-91b06c06d2aec6a38a408d97a7991ea4a233d0f6.tar.bz2 |
base::Bind: Convert BrowsingDataQuotaHelper::StartFetching.
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/8401027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_quota_helper_impl.h')
-rw-r--r-- | chrome/browser/browsing_data_quota_helper_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data_quota_helper_impl.h index 81e2fe7..83b4629 100644 --- a/chrome/browser/browsing_data_quota_helper_impl.h +++ b/chrome/browser/browsing_data_quota_helper_impl.h @@ -12,6 +12,7 @@ #include <utility> #include "base/callback_old.h" +#include "base/compiler_specific.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_callback_factory.h" #include "base/memory/scoped_ptr.h" @@ -29,7 +30,7 @@ class QuotaManager; // IO thread, we have to communicate over thread using PostTask. class BrowsingDataQuotaHelperImpl : public BrowsingDataQuotaHelper { public: - virtual void StartFetching(FetchResultCallback* callback) OVERRIDE; + virtual void StartFetching(const FetchResultCallback& callback) OVERRIDE; virtual void CancelNotification() OVERRIDE; virtual void RevokeHostQuota(const std::string& host) OVERRIDE; @@ -59,7 +60,7 @@ class BrowsingDataQuotaHelperImpl : public BrowsingDataQuotaHelper { int64 quota); scoped_refptr<quota::QuotaManager> quota_manager_; - scoped_ptr<FetchResultCallback> callback_; + FetchResultCallback callback_; typedef std::set<std::pair<std::string, quota::StorageType> > PendingHosts; PendingHosts pending_hosts_; |