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

Unified Diff: chrome/renderer/security_filter_peer.h

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/renderer/searchbox/searchbox_unittest.cc ('k') | chrome/renderer/security_filter_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/security_filter_peer.h
diff --git a/chrome/renderer/security_filter_peer.h b/chrome/renderer/security_filter_peer.h
index d26b5897dd6966ad4ef9e0f038b8fc9ae4338e65..cc87cca4db5fe84ec497a034179ff5af07b46252 100644
--- a/chrome/renderer/security_filter_peer.h
+++ b/chrome/renderer/security_filter_peer.h
@@ -5,8 +5,11 @@
#ifndef CHROME_RENDERER_SECURITY_FILTER_PEER_H_
#define CHROME_RENDERER_SECURITY_FILTER_PEER_H_
+#include <stdint.h>
+
#include <string>
+#include "base/macros.h"
#include "content/public/child/request_peer.h"
#include "content/public/common/resource_response_info.h"
#include "content/public/common/resource_type.h"
@@ -32,7 +35,7 @@ class SecurityFilterPeer : public content::RequestPeer {
int os_error);
// content::RequestPeer methods.
- void OnUploadProgress(uint64 position, uint64 size) override;
+ void OnUploadProgress(uint64_t position, uint64_t size) override;
bool OnReceivedRedirect(const net::RedirectInfo& redirect_info,
const content::ResourceResponseInfo& info) override;
void OnDownloadedData(int len, int encoded_data_length) override {}
@@ -60,7 +63,7 @@ class BufferedPeer : public SecurityFilterPeer {
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) override;
+ int64_t total_transfer_size) override;
void OnReceivedCompletedResponse(const content::ResourceResponseInfo& info,
scoped_ptr<ReceivedData> data,
int error_code,
@@ -68,7 +71,7 @@ class BufferedPeer : public SecurityFilterPeer {
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) override;
+ int64_t total_transfer_size) override;
protected:
// Invoked when the entire request has been processed before the data is sent
@@ -107,7 +110,7 @@ class ReplaceContentPeer : public SecurityFilterPeer {
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) override;
+ int64_t total_transfer_size) override;
void OnReceivedCompletedResponse(const content::ResourceResponseInfo& info,
scoped_ptr<ReceivedData> data,
int error_code,
@@ -115,7 +118,7 @@ class ReplaceContentPeer : public SecurityFilterPeer {
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) override;
+ int64_t total_transfer_size) override;
private:
content::ResourceResponseInfo response_info_;
« no previous file with comments | « chrome/renderer/searchbox/searchbox_unittest.cc ('k') | chrome/renderer/security_filter_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698