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

Unified Diff: components/precache/core/precache_fetcher.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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: components/precache/core/precache_fetcher.h
diff --git a/components/precache/core/precache_fetcher.h b/components/precache/core/precache_fetcher.h
index c4f16733fd1484e25a0702e82c50aae1238ab672..6eca92624b8baec5dd7ca431021fa1537ef91cce 100644
--- a/components/precache/core/precache_fetcher.h
+++ b/components/precache/core/precache_fetcher.h
@@ -5,11 +5,12 @@
#ifndef COMPONENTS_PRECACHE_CORE_PRECACHE_FETCHER_H_
#define COMPONENTS_PRECACHE_CORE_PRECACHE_FETCHER_H_
+#include <stdint.h>
+
#include <list>
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -171,8 +172,8 @@ class PrecacheFetcher::Fetcher : public net::URLFetcherDelegate {
bool is_resource_request);
~Fetcher() override;
void OnURLFetchComplete(const net::URLFetcher* source) override;
- int64 response_bytes() const { return response_bytes_; }
- int64 network_response_bytes() const { return network_response_bytes_; }
+ int64_t response_bytes() const { return response_bytes_; }
+ int64_t network_response_bytes() const { return network_response_bytes_; }
private:
enum class FetchStage { CACHE, NETWORK };
@@ -189,8 +190,8 @@ class PrecacheFetcher::Fetcher : public net::URLFetcherDelegate {
// The url_fetcher_cache_ is kept alive until Fetcher destruction for testing.
scoped_ptr<net::URLFetcher> url_fetcher_cache_;
scoped_ptr<net::URLFetcher> url_fetcher_network_;
- int64 response_bytes_;
- int64 network_response_bytes_;
+ int64_t response_bytes_;
+ int64_t network_response_bytes_;
DISALLOW_COPY_AND_ASSIGN(Fetcher);
};
« no previous file with comments | « components/precache/core/precache_database_unittest.cc ('k') | components/precache/core/precache_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698