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

Unified Diff: blimp/net/blimp_message_output_buffer.h

Issue 1538253002: Switch to standard integer types in blimp/. (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 | « blimp/net/blimp_message_checkpointer_unittest.cc ('k') | blimp/net/blimp_message_output_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_message_output_buffer.h
diff --git a/blimp/net/blimp_message_output_buffer.h b/blimp/net/blimp_message_output_buffer.h
index d8168ba4d3e93b8c6131703b96f35b622273c019..c40aea30ff41a1bdd16ef31e89186b5243eecc36 100644
--- a/blimp/net/blimp_message_output_buffer.h
+++ b/blimp/net/blimp_message_output_buffer.h
@@ -5,6 +5,8 @@
#ifndef BLIMP_NET_BLIMP_MESSAGE_OUTPUT_BUFFER_H_
#define BLIMP_NET_BLIMP_MESSAGE_OUTPUT_BUFFER_H_
+#include <stdint.h>
+
#include <list>
#include <queue>
#include <utility>
@@ -46,7 +48,7 @@ class BLIMP_NET_EXPORT BlimpMessageOutputBuffer
const net::CompletionCallback& callback) override;
// MessageCheckpointObserver implementation.
- void OnMessageCheckpoint(int64 message_id) override;
+ void OnMessageCheckpoint(int64_t message_id) override;
int GetBufferByteSizeForTest() const;
int GetUnacknowledgedMessageCountForTest() const;
@@ -81,7 +83,7 @@ class BLIMP_NET_EXPORT BlimpMessageOutputBuffer
int current_buffer_size_bytes_ = 0;
// The ID used by the last outgoing message.
- int64 prev_message_id_ = 0;
+ int64_t prev_message_id_ = 0;
// List of unsent messages.
MessageBuffer write_buffer_;
« no previous file with comments | « blimp/net/blimp_message_checkpointer_unittest.cc ('k') | blimp/net/blimp_message_output_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698