Chromium Code Reviews| Index: net/cert/ct_policy_enforcer.cc |
| diff --git a/net/cert/ct_policy_enforcer.cc b/net/cert/ct_policy_enforcer.cc |
| index d9c92421bf86e0ba4d7d101e07268769ad1dd137..32181d456e39a7807b6c5b6caebaa23c1932f1eb 100644 |
| --- a/net/cert/ct_policy_enforcer.cc |
| +++ b/net/cert/ct_policy_enforcer.cc |
| @@ -37,13 +37,9 @@ bool IsEmbeddedSCT(const scoped_refptr<ct::SignedCertificateTimestamp>& sct) { |
| // built-in security information (e.g. CT Logs) is fresh enough. |
| // TODO(eranm): Move to base or net/base |
| bool IsBuildTimely() { |
| -#if defined(DONT_EMBED_BUILD_METADATA) && !defined(OFFICIAL_BUILD) |
|
agl
2016/01/29 21:46:46
ditto.
|
| - return true; |
| -#else |
| const base::Time build_time = base::GetBuildTime(); |
| // We consider built-in information to be timely for 10 weeks. |
| return (base::Time::Now() - build_time).InDays() < 70 /* 10 weeks */; |
| -#endif |
| } |
| bool IsGoogleIssuedSCT( |