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

Unified Diff: content/child/database_util.cc

Issue 1544273002: Switch to standard integer types in content/. (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
« no previous file with comments | « content/child/database_util.h ('k') | content/child/db_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/database_util.cc
diff --git a/content/child/database_util.cc b/content/child/database_util.cc
index 3a0e80b266a45a964343ab4af1827a76262a31d1..844799e1200456aee797d53586473d333e71a158 100644
--- a/content/child/database_util.cc
+++ b/content/child/database_util.cc
@@ -40,7 +40,7 @@ int DatabaseUtil::DatabaseDeleteFile(
long DatabaseUtil::DatabaseGetFileAttributes(
const WebString& vfs_file_name,
IPC::SyncMessageFilter* sync_message_filter) {
- int32 rv = -1;
+ int32_t rv = -1;
sync_message_filter->Send(
new DatabaseHostMsg_GetFileAttributes(vfs_file_name, &rv));
return rv;
@@ -49,7 +49,7 @@ long DatabaseUtil::DatabaseGetFileAttributes(
long long DatabaseUtil::DatabaseGetFileSize(
const WebString& vfs_file_name,
IPC::SyncMessageFilter* sync_message_filter) {
- int64 rv = 0LL;
+ int64_t rv = 0LL;
sync_message_filter->Send(
new DatabaseHostMsg_GetFileSize(vfs_file_name, &rv));
return rv;
@@ -58,7 +58,7 @@ long long DatabaseUtil::DatabaseGetFileSize(
long long DatabaseUtil::DatabaseGetSpaceAvailable(
const WebString& origin_identifier,
IPC::SyncMessageFilter* sync_message_filter) {
- int64 rv = 0LL;
+ int64_t rv = 0LL;
sync_message_filter->Send(
new DatabaseHostMsg_GetSpaceAvailable(origin_identifier.utf8(), &rv));
return rv;
@@ -66,7 +66,7 @@ long long DatabaseUtil::DatabaseGetSpaceAvailable(
bool DatabaseUtil::DatabaseSetFileSize(
const WebString& vfs_file_name,
- int64 size,
+ int64_t size,
IPC::SyncMessageFilter* sync_message_filter) {
bool rv = false;
sync_message_filter->Send(
« no previous file with comments | « content/child/database_util.h ('k') | content/child/db_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698