-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #676 from brave/proxying_sbmodel
Proxying requests for safe browsing client model through brave proxy
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
patches/chrome-browser-safe_browsing-client_side_model_loader.cc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/chrome/browser/safe_browsing/client_side_model_loader.cc b/chrome/browser/safe_browsing/client_side_model_loader.cc | ||
index 15fb0165acb6f8444072b47aa54a940602d27ed0..c2ffa20edd637849caa02cd899a70be2623c1de0 100644 | ||
--- a/chrome/browser/safe_browsing/client_side_model_loader.cc | ||
+++ b/chrome/browser/safe_browsing/client_side_model_loader.cc | ||
@@ -36,7 +36,7 @@ namespace safe_browsing { | ||
const size_t ModelLoader::kMaxModelSizeBytes = 150 * 1024; | ||
const int ModelLoader::kClientModelFetchIntervalMs = 3600 * 1000; | ||
const char ModelLoader::kClientModelUrlPrefix[] = | ||
- "https://ssl.gstatic.com/safebrowsing/csd/"; | ||
+ "https://static.brave.com/safebrowsing/csd/"; | ||
const char ModelLoader::kClientModelNamePattern[] = | ||
"client_model_v5%s_variation_%d.pb"; | ||
const char ModelLoader::kClientModelFinchExperiment[] = |