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

Unified Diff: net/http/http_security_headers.h

Issue 1492403002: Remove kuint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win 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: net/http/http_security_headers.h
diff --git a/net/http/http_security_headers.h b/net/http/http_security_headers.h
index f54df691fae091257a04e75ff4daefe299350799..af904307870cf7ba8e637da979139d04c463bfe2 100644
--- a/net/http/http_security_headers.h
+++ b/net/http/http_security_headers.h
@@ -5,9 +5,10 @@
#ifndef NET_HTTP_HTTP_SECURITY_HEADERS_H_
#define NET_HTTP_HTTP_SECURITY_HEADERS_H_
+#include <stdint.h>
+
asanka 2015/12/04 15:12:35 Here as well. The style guide doesn't require the
Avi (use Gerrit) 2015/12/04 15:19:28 Yes it does. It explicitly calls out C header file
asanka 2015/12/04 15:41:43 Ah. I see.
#include <string>
-#include "base/basictypes.h"
#include "base/time/time.h"
#include "base/values.h"
#include "net/base/hash_value.h"
@@ -17,7 +18,7 @@ class GURL;
namespace net {
-const int64 kMaxHSTSAgeSecs = 86400 * 365; // 1 year
+const int64_t kMaxHSTSAgeSecs = 86400 * 365; // 1 year
// Parses |value| as a Strict-Transport-Security header value. If successful,
// returns true and sets |*max_age| and |*include_subdomains|.

Powered by Google App Engine
This is Rietveld 408576698