OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsPrivateIPAddress
(Results
1 - 10
of
10
) sorted by null
/external/chromium/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc
302
TEST_F(ClientSideDetectionServiceTest,
IsPrivateIPAddress
) {
309
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("10.1.2.3"));
310
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("127.0.0.1"));
311
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("172.24.3.4"));
312
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("192.168.1.1"));
313
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fc00::"));
314
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fec0::"));
315
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fec0:1:2::3"));
316
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("::1"));
318
EXPECT_FALSE(csd_service_->
IsPrivateIPAddress
("1.2.3.4"))
[
all
...]
client_side_detection_service.h
100
virtual bool
IsPrivateIPAddress
(const std::string& ip_address) const;
client_side_detection_host_unittest.cc
60
MOCK_CONST_METHOD1(
IsPrivateIPAddress
, bool(const std::string&));
172
EXPECT_CALL(*csd_service_,
IsPrivateIPAddress
(_))
454
EXPECT_CALL(*csd_service_,
IsPrivateIPAddress
(_)).Times(0);
509
// If
IsPrivateIPAddress
returns true, no IPC should be triggered.
client_side_detection_host.cc
94
if (csd_service_->
IsPrivateIPAddress
(params_.socket_address.host())) {
client_side_detection_service.cc
132
bool ClientSideDetectionService::
IsPrivateIPAddress
(
/external/chromium_org/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc
526
TEST_F(ClientSideDetectionServiceTest,
IsPrivateIPAddress
) {
531
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("10.1.2.3"));
532
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("127.0.0.1"));
533
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("172.24.3.4"));
534
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("192.168.1.1"));
535
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fc00::"));
536
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fec0::"));
537
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("fec0:1:2::3"));
538
EXPECT_TRUE(csd_service_->
IsPrivateIPAddress
("::1"));
540
EXPECT_FALSE(csd_service_->
IsPrivateIPAddress
("1.2.3.4"))
[
all
...]
client_side_detection_service.h
124
virtual bool
IsPrivateIPAddress
(const std::string& ip_address) const;
client_side_detection_host_unittest.cc
120
MOCK_CONST_METHOD1(
IsPrivateIPAddress
, bool(const std::string&));
265
EXPECT_CALL(*csd_service_,
IsPrivateIPAddress
(_))
[
all
...]
client_side_detection_host.cc
97
if (csd_service_->
IsPrivateIPAddress
(params_.socket_address.host())) {
client_side_detection_service.cc
190
bool ClientSideDetectionService::
IsPrivateIPAddress
(
Completed in 214 milliseconds