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

Unified Diff: content/child/indexed_db/webidbcursor_impl.h

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
Index: content/child/indexed_db/webidbcursor_impl.h
diff --git a/content/child/indexed_db/webidbcursor_impl.h b/content/child/indexed_db/webidbcursor_impl.h
index c84ee4a227f148ddbc38d906abcac4f67ca70c77..afe3d43a2eebc6702ef5db6d316fb0e36ddce7e8 100644
--- a/content/child/indexed_db/webidbcursor_impl.h
+++ b/content/child/indexed_db/webidbcursor_impl.h
@@ -5,10 +5,11 @@
#ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_
#define CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_
+#include <stdint.h>
+
#include <deque>
#include <vector>
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
@@ -25,8 +26,8 @@ class ThreadSafeSender;
class CONTENT_EXPORT WebIDBCursorImpl
: NON_EXPORTED_BASE(public blink::WebIDBCursor) {
public:
- WebIDBCursorImpl(int32 ipc_cursor_id,
- int64 transaction_id,
+ WebIDBCursorImpl(int32_t ipc_cursor_id,
+ int64_t transaction_id,
ThreadSafeSender* thread_safe_sender);
~WebIDBCursorImpl() override;
@@ -48,7 +49,7 @@ class CONTENT_EXPORT WebIDBCursorImpl
// This method is virtual so it can be overridden in unit tests.
virtual void ResetPrefetchCache();
- int64 transaction_id() const { return transaction_id_; }
+ int64_t transaction_id() const { return transaction_id_; }
private:
FRIEND_TEST_ALL_PREFIXES(IndexedDBDispatcherTest, CursorReset);
@@ -62,8 +63,8 @@ class CONTENT_EXPORT WebIDBCursorImpl
enum { kMinPrefetchAmount = 5 };
enum { kMaxPrefetchAmount = 100 };
- int32 ipc_cursor_id_;
- int64 transaction_id_;
+ int32_t ipc_cursor_id_;
+ int64_t transaction_id_;
// Prefetch cache.
std::deque<IndexedDBKey> prefetch_keys_;
« no previous file with comments | « content/child/indexed_db/indexed_db_message_filter.cc ('k') | content/child/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698