| Index: content/child/quota_dispatcher.h
|
| diff --git a/content/child/quota_dispatcher.h b/content/child/quota_dispatcher.h
|
| index 0b73c145e92f5b98f4148c78cfb573db3a7207f4..e30187bff96d142af91153cfb1becaf538773881 100644
|
| --- a/content/child/quota_dispatcher.h
|
| +++ b/content/child/quota_dispatcher.h
|
| @@ -8,6 +8,7 @@
|
| #include <stdint.h>
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <set>
|
|
|
| #include "base/id_map.h"
|
| @@ -62,15 +63,15 @@ class QuotaDispatcher : public WorkerThread::Observer {
|
|
|
| void QueryStorageUsageAndQuota(const GURL& gurl,
|
| storage::StorageType type,
|
| - Callback* callback);
|
| + std::unique_ptr<Callback> callback);
|
| void RequestStorageQuota(int render_view_id,
|
| const GURL& gurl,
|
| storage::StorageType type,
|
| uint64_t requested_size,
|
| - Callback* callback);
|
| + std::unique_ptr<Callback> callback);
|
|
|
| // Creates a new Callback instance for WebStorageQuotaCallbacks.
|
| - static Callback* CreateWebStorageQuotaCallbacksWrapper(
|
| + static std::unique_ptr<Callback> CreateWebStorageQuotaCallbacksWrapper(
|
| blink::WebStorageQuotaCallbacks callbacks);
|
|
|
| private:
|
|
|