IsPrivateIPAddress 103 chrome/browser/safe_browsing/client_side_detection_host.cc if (csd_service_->IsPrivateIPAddress(params_.socket_address.host())) { IsPrivateIPAddress 122 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc MOCK_CONST_METHOD1(IsPrivateIPAddress, bool(const std::string&)); IsPrivateIPAddress 271 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_)) IsPrivateIPAddress 898 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_)) IsPrivateIPAddress 937 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_)).Times(0); IsPrivateIPAddress 124 chrome/browser/safe_browsing/client_side_detection_service.h virtual bool IsPrivateIPAddress(const std::string& ip_address) const; IsPrivateIPAddress 523 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc TEST_F(ClientSideDetectionServiceTest, IsPrivateIPAddress) { IsPrivateIPAddress 528 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("10.1.2.3")); IsPrivateIPAddress 529 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("127.0.0.1")); IsPrivateIPAddress 530 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("172.24.3.4")); IsPrivateIPAddress 531 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("192.168.1.1")); IsPrivateIPAddress 532 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("fc00::")); IsPrivateIPAddress 533 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("fec0::")); IsPrivateIPAddress 534 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("fec0:1:2::3")); IsPrivateIPAddress 535 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("::1")); IsPrivateIPAddress 537 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(csd_service_->IsPrivateIPAddress("1.2.3.4")); IsPrivateIPAddress 538 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(csd_service_->IsPrivateIPAddress("200.1.1.1")); IsPrivateIPAddress 539 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(csd_service_->IsPrivateIPAddress("2001:0db8:ac10:fe01::")); IsPrivateIPAddress 542 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(csd_service_->IsPrivateIPAddress("blah"));