| Index: extensions/browser/api/web_request/web_request_api_helpers.cc
|
| diff --git a/extensions/browser/api/web_request/web_request_api_helpers.cc b/extensions/browser/api/web_request/web_request_api_helpers.cc
|
| index bc5038e39eab868276d7ae43b255fbc0bdf60653..c21f7e094881ffd0345b2aaeb326f6c7b9f4cf69 100644
|
| --- a/extensions/browser/api/web_request/web_request_api_helpers.cc
|
| +++ b/extensions/browser/api/web_request/web_request_api_helpers.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "extensions/browser/api/web_request/web_request_api_helpers.h"
|
|
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| +
|
| #include <algorithm>
|
| #include <cmath>
|
| #include <utility>
|
| @@ -86,7 +89,7 @@ void ClearCacheOnNavigationOnUI() {
|
| }
|
|
|
| bool ParseCookieLifetime(net::ParsedCookie* cookie,
|
| - int64* seconds_till_expiry) {
|
| + int64_t* seconds_till_expiry) {
|
| // 'Max-Age' is processed first because according to:
|
| // http://tools.ietf.org/html/rfc6265#section-5.3 'Max-Age' attribute
|
| // overrides 'Expires' attribute.
|
| @@ -884,7 +887,7 @@ static bool DoesResponseCookieMatchFilter(net::ParsedCookie* cookie,
|
| return false;
|
| if (filter->age_upper_bound || filter->age_lower_bound ||
|
| (filter->session_cookie && *filter->session_cookie)) {
|
| - int64 seconds_to_expiry;
|
| + int64_t seconds_to_expiry;
|
| bool lifetime_parsed = ParseCookieLifetime(cookie, &seconds_to_expiry);
|
| if (filter->age_upper_bound && seconds_to_expiry > *filter->age_upper_bound)
|
| return false;
|
|
|