Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Unified Diff: chrome/browser/safe_browsing/client_side_detection_service.h

Issue 304873002: Update Safe Browsing to use net::IsIPAddressReserved (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/client_side_detection_service.h
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.h b/chrome/browser/safe_browsing/client_side_detection_service.h
index fe9ec69922767c1c245c107e3addc62e3442a988..ed44a431b9eeb4eca68de4b8c3f0905dac4df3f9 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.h
+++ b/chrome/browser/safe_browsing/client_side_detection_service.h
@@ -259,10 +259,6 @@ class ClientSideDetectionService : public net::URLFetcherDelegate,
// trims off the old elements.
int GetNumReports(std::queue<base::Time>* report_times);
- // Initializes the |private_networks_| vector with the network blocks
- // that we consider non-public IP addresses. Returns true on success.
- bool InitializePrivateNetworks();
-
// Send the model to the given renderer.
void SendModelToProcess(content::RenderProcessHost* process);
@@ -327,9 +323,6 @@ class ClientSideDetectionService : public net::URLFetcherDelegate,
// The context we use to issue network requests.
scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
- // The network blocks that we consider private IP address ranges.
- std::vector<AddressRange> private_networks_;
-
// Map of bad subnets which are copied from the client model and put into
// this map to speed up lookups.
BadSubnetMap bad_subnets_;
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698