| Index: chrome/browser/safe_browsing/client_side_detection_service.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
|
| index 684391202a4618fce40babd861890a4e987ade24..9d52f0c936571a46c5a162a8f29f0a6f25672967 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_service.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
|
| @@ -51,11 +51,8 @@ const base::TimeDelta ClientSideDetectionService::kPositiveCacheInterval =
|
|
|
| const char ClientSideDetectionService::kClientReportPhishingUrl[] =
|
| "https://sb-ssl.google.com/safebrowsing/clientreport/phishing";
|
| -// Note: when updatng the model version, don't forget to change the filename
|
| -// in chrome/common/chrome_constants.cc as well, or else existing users won't
|
| -// download the new model.
|
| const char ClientSideDetectionService::kClientModelUrl[] =
|
| - "https://ssl.gstatic.com/safebrowsing/csd/client_model_v3.pb";
|
| + "https://ssl.gstatic.com/safebrowsing/csd/client_model_v4.pb";
|
|
|
| struct ClientSideDetectionService::ClientReportInfo {
|
| scoped_ptr<ClientReportPhishingRequestCallback> callback;
|
| @@ -601,11 +598,6 @@ bool ClientSideDetectionService::ModelHasValidHashIds(
|
| return false;
|
| }
|
| }
|
| - for (int i = 0; i < model.page_word_size(); ++i) {
|
| - if (model.page_word(i) < 0 || model.page_word(i) > max_index) {
|
| - return false;
|
| - }
|
| - }
|
| return true;
|
| }
|
|
|
|
|