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

Unified Diff: content/browser/quota/mock_quota_manager.h

Issue 1498003003: Remove kint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: INT64_MAX 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
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);
« no previous file with comments | « content/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | content/browser/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698