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

Unified Diff: chrome/browser/browsing_data/browsing_data_quota_helper.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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
Index: chrome/browser/browsing_data/browsing_data_quota_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.h b/chrome/browser/browsing_data/browsing_data_quota_helper.h
index 0730ab3c5395df90e9417105fe8a29131abfe4df..614350f0d26d04b81d3227cfa604fdfea3eb3eba 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper.h
@@ -5,10 +5,13 @@
#ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_
+#include <stdint.h>
+
#include <list>
#include <string>
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h"
#include "storage/common/quota/quota_types.h"
@@ -39,9 +42,9 @@ class BrowsingDataQuotaHelper
QuotaInfo();
explicit QuotaInfo(const std::string& host);
QuotaInfo(const std::string& host,
- int64 temporary_usage,
- int64 persistent_usage,
- int64 syncable_usage);
+ int64_t temporary_usage,
+ int64_t persistent_usage,
+ int64_t syncable_usage);
~QuotaInfo();
// Certain versions of MSVC 2008 have bad implementations of ADL for nested
@@ -51,9 +54,9 @@ class BrowsingDataQuotaHelper
bool operator ==(const QuotaInfo& rhs) const;
std::string host;
- int64 temporary_usage = 0;
- int64 persistent_usage = 0;
- int64 syncable_usage = 0;
+ int64_t temporary_usage = 0;
+ int64_t persistent_usage = 0;
+ int64_t syncable_usage = 0;
};
typedef std::list<QuotaInfo> QuotaInfoArray;

Powered by Google App Engine
This is Rietveld 408576698