23 lines
995 B
Diff
23 lines
995 B
Diff
From: Your Name <you@example.com>
|
|
Date: Mon, 6 Mar 2023 10:10:37 +0000
|
|
Subject: 111 Disable all predictors code
|
|
|
|
---
|
|
.../core/prediction_model_download_manager.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/components/optimization_guide/core/prediction_model_download_manager.cc b/components/optimization_guide/core/prediction_model_download_manager.cc
|
|
--- a/components/optimization_guide/core/prediction_model_download_manager.cc
|
|
+++ b/components/optimization_guide/core/prediction_model_download_manager.cc
|
|
@@ -261,7 +261,7 @@ bool PredictionModelDownloadManager::VerifyDownload(
|
|
const base::FilePath& download_file_path,
|
|
const base::FilePath& base_model_dir,
|
|
bool delete_file_on_error) {
|
|
- if ((true)) return absl::nullopt;
|
|
+ if ((true)) return false;
|
|
if (!switches::ShouldSkipModelDownloadVerificationForTesting()) {
|
|
// Verify that the |download_file_path| contains a valid CRX file.
|
|
std::string public_key;
|
|
--
|
|
2.25.1
|