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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_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_file_system_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.h b/chrome/browser/browsing_data/browsing_data_file_system_helper.h
index ddf49178b068262e36ec7b7db382505de20cbd29..0f2066a1c69d568d70f85b888aedde57f64a3adf 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.h
@@ -5,10 +5,14 @@
#ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILE_SYSTEM_HELPER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <list>
#include <map>
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "storage/common/fileapi/file_system_types.h"
#include "url/gurl.h"
@@ -45,7 +49,7 @@ class BrowsingDataFileSystemHelper
// The origin for which the information is relevant.
GURL origin;
// FileSystemType to usage (in bytes) map.
- std::map<storage::FileSystemType, int64> usage_map;
+ std::map<storage::FileSystemType, int64_t> usage_map;
};
using FetchCallback = base::Callback<void(const std::list<FileSystemInfo>&)>;
@@ -97,7 +101,7 @@ class CannedBrowsingDataFileSystemHelper
// each file system type).
void AddFileSystem(const GURL& origin,
storage::FileSystemType type,
- int64 size);
+ int64_t size);
// Clear this helper's list of canned filesystems.
void Reset();

Powered by Google App Engine
This is Rietveld 408576698