| Index: content/child/quota_dispatcher.h
|
| diff --git a/content/child/quota_dispatcher.h b/content/child/quota_dispatcher.h
|
| index a141290c98514ee2b2991a9235336bbf1b0d7661..0b73c145e92f5b98f4148c78cfb573db3a7207f4 100644
|
| --- a/content/child/quota_dispatcher.h
|
| +++ b/content/child/quota_dispatcher.h
|
| @@ -5,11 +5,13 @@
|
| #ifndef CONTENT_CHILD_QUOTA_DISPATCHER_H_
|
| #define CONTENT_CHILD_QUOTA_DISPATCHER_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <map>
|
| #include <set>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/id_map.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/public/child/worker_thread.h"
|
| #include "storage/common/quota/quota_types.h"
|
| @@ -38,8 +40,8 @@ class QuotaDispatcher : public WorkerThread::Observer {
|
| class Callback {
|
| public:
|
| virtual ~Callback() {}
|
| - virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) = 0;
|
| - virtual void DidGrantStorageQuota(int64 usage, int64 granted_quota) = 0;
|
| + virtual void DidQueryStorageUsageAndQuota(int64_t usage, int64_t quota) = 0;
|
| + virtual void DidGrantStorageQuota(int64_t usage, int64_t granted_quota) = 0;
|
| virtual void DidFail(storage::QuotaStatusCode status) = 0;
|
| };
|
|
|
| @@ -64,7 +66,7 @@ class QuotaDispatcher : public WorkerThread::Observer {
|
| void RequestStorageQuota(int render_view_id,
|
| const GURL& gurl,
|
| storage::StorageType type,
|
| - uint64 requested_size,
|
| + uint64_t requested_size,
|
| Callback* callback);
|
|
|
| // Creates a new Callback instance for WebStorageQuotaCallbacks.
|
| @@ -74,11 +76,11 @@ class QuotaDispatcher : public WorkerThread::Observer {
|
| private:
|
| // Message handlers.
|
| void DidQueryStorageUsageAndQuota(int request_id,
|
| - int64 current_usage,
|
| - int64 current_quota);
|
| + int64_t current_usage,
|
| + int64_t current_quota);
|
| void DidGrantStorageQuota(int request_id,
|
| - int64 current_usage,
|
| - int64 granted_quota);
|
| + int64_t current_usage,
|
| + int64_t granted_quota);
|
| void DidFail(int request_id, storage::QuotaStatusCode error);
|
|
|
| IDMap<Callback, IDMapOwnPointer> pending_quota_callbacks_;
|
|
|