Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: content/child/quota_dispatcher.h

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/push_messaging/push_provider.h ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « content/child/push_messaging/push_provider.h ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698