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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_helper.cc

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_file_system_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
index 72c50a6c87b88e2211a5483ee2c0052a014a5dcf..f1ee3d85402b3f9828008d3cc5631c061aa2ab18 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
@@ -8,6 +8,7 @@
#include "base/bind.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner.h"
#include "chrome/browser/browsing_data/browsing_data_helper.h"
@@ -116,7 +117,7 @@ void BrowsingDataFileSystemHelperImpl::FetchFileSystemInfoInFileThread(
for (const GURL& current : origins) {
if (!BrowsingDataHelper::HasWebScheme(current))
continue; // Non-websafe state is not considered browsing data.
- int64 usage = quota_util->GetOriginUsageOnFileTaskRunner(
+ int64_t usage = quota_util->GetOriginUsageOnFileTaskRunner(
filesystem_context_.get(), current, type);
OriginInfoMap::iterator inserted =
file_system_info_map.insert(
@@ -160,7 +161,7 @@ CannedBrowsingDataFileSystemHelper::~CannedBrowsingDataFileSystemHelper() {}
void CannedBrowsingDataFileSystemHelper::AddFileSystem(
const GURL& origin,
const storage::FileSystemType type,
- const int64 size) {
+ const int64_t size) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
// This canned implementation of AddFileSystem uses an O(n^2) algorithm; which
// is fine, as it isn't meant for use in a high-volume context. If it turns

Powered by Google App Engine
This is Rietveld 408576698