Index: components/ssl_errors/error_classification.cc |
diff --git a/components/ssl_errors/error_classification.cc b/components/ssl_errors/error_classification.cc |
index f55d754faab06869a23309177189c4418ca6c128..5a221dfbaa76b8e82913f5805c8f9d8331110db8 100644 |
--- a/components/ssl_errors/error_classification.cc |
+++ b/components/ssl_errors/error_classification.cc |
@@ -218,11 +218,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) |
- return false; |
-#else |
build_time = base::GetBuildTime(); |
-#endif |
} |
if (time_now < build_time - base::TimeDelta::FromDays(2)) |
@@ -235,11 +231,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)) |