Chromium Code Reviews| Index: components/ssl_errors/error_classification.cc |
| diff --git a/components/ssl_errors/error_classification.cc b/components/ssl_errors/error_classification.cc |
| index 75104f85965e1f4b7c51d0a0608d0cf75a763493..843fdc6910a824b978e70b4eb9f1c3db8e86712e 100644 |
| --- a/components/ssl_errors/error_classification.cc |
| +++ b/components/ssl_errors/error_classification.cc |
| @@ -212,11 +212,7 @@ bool IsUserClockInThePast(const base::Time& time_now) { |
| if (!g_testing_build_time.Get().is_null()) { |
| build_time = g_testing_build_time.Get(); |
| } else { |
| -#if defined(DONT_EMBED_BUILD_METADATA) && !defined(OFFICIAL_BUILD) |
|
agl
2016/01/29 21:46:46
This (and below) needs careful consideration about
|
| - return false; |
| -#else |
| build_time = base::GetBuildTime(); |
| -#endif |
| } |
| if (time_now < build_time - base::TimeDelta::FromDays(2)) |
| @@ -229,11 +225,7 @@ bool IsUserClockInTheFuture(const base::Time& time_now) { |
| if (!g_testing_build_time.Get().is_null()) { |
| build_time = g_testing_build_time.Get(); |
| } else { |
| -#if defined(DONT_EMBED_BUILD_METADATA) && !defined(OFFICIAL_BUILD) |
| - return false; |
| -#else |
| build_time = base::GetBuildTime(); |
| -#endif |
| } |
| if (time_now > build_time + base::TimeDelta::FromDays(365)) |