Index: content/browser/quota/mock_quota_manager.h |
diff --git a/content/browser/quota/mock_quota_manager.h b/content/browser/quota/mock_quota_manager.h |
index a6bba10e985c4a474d0b3c98e978b0b66e8309be..ecb0d72d174e99195b6bcd724f6bf3c64d85a7ee 100644 |
--- a/content/browser/quota/mock_quota_manager.h |
+++ b/content/browser/quota/mock_quota_manager.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
#define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
+#include <stdint.h> |
+ |
#include <map> |
#include <set> |
#include <utility> |
@@ -74,7 +76,7 @@ class MockQuotaManager : public QuotaManager { |
const StatusCallback& callback) override; |
// Helper method for updating internal quota info. |
- void SetQuota(const GURL& origin, StorageType type, int64 quota); |
+ void SetQuota(const GURL& origin, StorageType type, int64_t quota); |
// Helper methods for timed-deletion testing: |
// Adds an origin to the canned list that will be searched through via |
@@ -123,15 +125,15 @@ class MockQuotaManager : public QuotaManager { |
struct StorageInfo { |
StorageInfo(); |
~StorageInfo(); |
- int64 usage; |
- int64 quota; |
+ int64_t usage; |
+ int64_t quota; |
}; |
typedef std::pair<GURL, StorageType> OriginAndType; |
typedef std::map<OriginAndType, StorageInfo> UsageAndQuotaMap; |
// This must be called via MockQuotaManagerProxy. |
- void UpdateUsage(const GURL& origin, StorageType type, int64 delta); |
+ void UpdateUsage(const GURL& origin, StorageType type, int64_t delta); |
void DidGetModifiedSince(const GetOriginsCallback& callback, |
std::set<GURL>* origins, |
StorageType storage_type); |