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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.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/indexed_db/webidbdatabase_impl.h ('k') | content/child/memory/child_memory_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbdatabase_impl.cc
diff --git a/content/child/indexed_db/webidbdatabase_impl.cc b/content/child/indexed_db/webidbdatabase_impl.cc
index fd9c46a2929bd17adba31a5b31d96d237aab080b..fedb0e7333974ecdce6127249739b0b4ea4ccdae 100644
--- a/content/child/indexed_db/webidbdatabase_impl.cc
+++ b/content/child/indexed_db/webidbdatabase_impl.cc
@@ -4,6 +4,8 @@
#include "content/child/indexed_db/webidbdatabase_impl.h"
+#include <stddef.h>
+
#include <string>
#include <vector>
@@ -32,8 +34,8 @@ using blink::WebVector;
namespace content {
-WebIDBDatabaseImpl::WebIDBDatabaseImpl(int32 ipc_database_id,
- int32 ipc_database_callbacks_id,
+WebIDBDatabaseImpl::WebIDBDatabaseImpl(int32_t ipc_database_id,
+ int32_t ipc_database_callbacks_id,
ThreadSafeSender* thread_safe_sender)
: ipc_database_id_(ipc_database_id),
ipc_database_callbacks_id_(ipc_database_callbacks_id),
@@ -183,8 +185,8 @@ void WebIDBDatabaseImpl::setIndexesReady(
long long transaction_id,
long long object_store_id,
const WebVector<long long>& web_index_ids) {
- std::vector<int64> index_ids(web_index_ids.data(),
- web_index_ids.data() + web_index_ids.size());
+ std::vector<int64_t> index_ids(web_index_ids.data(),
+ web_index_ids.data() + web_index_ids.size());
thread_safe_sender_->Send(new IndexedDBHostMsg_DatabaseSetIndexesReady(
ipc_database_id_, transaction_id, object_store_id, index_ids));
}
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.h ('k') | content/child/memory/child_memory_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698