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

Unified Diff: content/browser/quota/quota_database_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/quota_database_unittest.cc
diff --git a/content/browser/quota/quota_database_unittest.cc b/content/browser/quota/quota_database_unittest.cc
index 8365e643674b3106cc252fd9c473c83bdb780d90..6bf0cd9d14de76d0f676c26ef1590d0a5e3f8812 100644
--- a/content/browser/quota/quota_database_unittest.cc
+++ b/content/browser/quota/quota_database_unittest.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <iterator>
#include <set>
@@ -10,6 +13,7 @@
#include "base/callback.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "content/public/test/mock_special_storage_policy.h"
#include "sql/connection.h"
@@ -87,7 +91,7 @@ class QuotaDatabaseTest : public testing::Test {
const int kQuota1 = 13579;
const int kQuota2 = kQuota1 + 1024;
- int64 quota = -1;
+ int64_t quota = -1;
EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypeTemporary, &quota));
EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypePersistent, &quota));
@@ -116,9 +120,9 @@ class QuotaDatabaseTest : public testing::Test {
const char* kTempQuotaKey = QuotaDatabase::kTemporaryQuotaOverrideKey;
const char* kAvailSpaceKey = QuotaDatabase::kDesiredAvailableSpaceKey;
- int64 value = 0;
- const int64 kValue1 = 456;
- const int64 kValue2 = 123000;
+ int64_t value = 0;
+ const int64_t kValue1 = 456;
+ const int64_t kValue2 = 123000;
EXPECT_FALSE(db.GetQuotaConfigValue(kTempQuotaKey, &value));
EXPECT_FALSE(db.GetQuotaConfigValue(kAvailSpaceKey, &value));
« no previous file with comments | « content/browser/quota/quota_backend_impl_unittest.cc ('k') | content/browser/quota/quota_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698