Index: net/http/http_response_headers.cc |
diff --git a/net/http/http_response_headers.cc b/net/http/http_response_headers.cc |
index c3fd9581b7ce886c7359551fdad46df9bb4a9727..3aef42a6b17a724925dbb23a71a341d7e903826e 100644 |
--- a/net/http/http_response_headers.cc |
+++ b/net/http/http_response_headers.cc |
@@ -1214,9 +1214,10 @@ bool HttpResponseHeaders::IsKeepAlive() const { |
// NOTE: It is perhaps risky to assume that a Proxy-Connection header is |
// meaningful when we don't know that this response was from a proxy, but |
// Mozilla also does this, so we'll do the same. |
- static const char* kConnectionHeaders[] = {"connection", "proxy-connection"}; |
+ static const char* const kConnectionHeaders[] = { |
+ "connection", "proxy-connection"}; |
struct KeepAliveToken { |
- const char* token; |
+ const char* const token; |
bool keep_alive; |
}; |
static const KeepAliveToken kKeepAliveTokens[] = {{"keep-alive", true}, |