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

Unified Diff: net/url_request/url_request_backoff_manager.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/url_request/url_request.h ('k') | net/url_request/url_request_backoff_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_backoff_manager.h
diff --git a/net/url_request/url_request_backoff_manager.h b/net/url_request/url_request_backoff_manager.h
index 232ebdc02b664f1e95057500a022f8039999f3d4..2aceb742c98f2eb89da10b62197956a8deefd9c4 100644
--- a/net/url_request/url_request_backoff_manager.h
+++ b/net/url_request/url_request_backoff_manager.h
@@ -5,10 +5,12 @@
#ifndef NET_URL_REQUEST_URL_REQUEST_BACKOFF_MANAGER_H_
#define NET_URL_REQUEST_URL_REQUEST_BACKOFF_MANAGER_H_
+#include <stdint.h>
+
#include <map>
#include <string>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/threading/non_thread_safe.h"
#include "base/time/time.h"
#include "net/base/net_export.h"
@@ -40,11 +42,11 @@ class NET_EXPORT URLRequestBackoffManager
public NetworkChangeNotifier::ConnectionTypeObserver {
public:
// Minimum number of seconds that a Backoff header can specify.
- static const uint16 kMinimumBackoffInSeconds;
+ static const uint16_t kMinimumBackoffInSeconds;
// Maximum number of seconds that a Backoff header can specify.
- static const uint16 kMaximumBackoffInSeconds;
+ static const uint16_t kMaximumBackoffInSeconds;
// Number of throttled requests that will be made between garbage collection.
- static const uint16 kNewEntriesBetweenCollecting;
+ static const uint16_t kNewEntriesBetweenCollecting;
URLRequestBackoffManager();
~URLRequestBackoffManager() override;
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_backoff_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698