OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DnsProbeRunner
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/chrome/browser/net/
dns_probe_runner.cc
36
const char*
DnsProbeRunner
::kKnownGoodHostname = "google.com";
40
DnsProbeRunner
::Result EvaluateResponse(
50
return
DnsProbeRunner
::INCORRECT;
59
return
DnsProbeRunner
::FAILING;
65
return
DnsProbeRunner
::UNREACHABLE;
73
return
DnsProbeRunner
::FAILING;
75
return
DnsProbeRunner
::INCORRECT;
77
return
DnsProbeRunner
::CORRECT;
82
DnsProbeRunner
::
DnsProbeRunner
() : weak_factory_(this), result_(UNKNOWN) {
[
all
...]
dns_probe_runner.h
25
class
DnsProbeRunner
{
38
DnsProbeRunner
();
39
~
DnsProbeRunner
();
66
base::WeakPtrFactory<
DnsProbeRunner
> weak_factory_;
80
DISALLOW_COPY_AND_ASSIGN(
DnsProbeRunner
);
dns_probe_runner_unittest.cc
49
DnsProbeRunner
::Result expected_probe_result);
52
DnsProbeRunner
runner_;
57
DnsProbeRunner
::Result expected_probe_result) {
71
RunTest(MockDnsClientRule::OK,
DnsProbeRunner
::CORRECT);
75
RunTest(MockDnsClientRule::EMPTY,
DnsProbeRunner
::INCORRECT);
79
RunTest(MockDnsClientRule::TIMEOUT,
DnsProbeRunner
::UNREACHABLE);
83
RunTest(MockDnsClientRule::FAIL,
DnsProbeRunner
::INCORRECT);
87
RunTest(MockDnsClientRule::OK,
DnsProbeRunner
::CORRECT);
88
RunTest(MockDnsClientRule::EMPTY,
DnsProbeRunner
::INCORRECT);
106
EXPECT_EQ(
DnsProbeRunner
::UNKNOWN, runner_.result())
[
all
...]
dns_probe_service.h
73
DnsProbeRunner
system_runner_;
74
DnsProbeRunner
public_runner_;
dns_probe_test_util.cc
32
MockDnsClientRule(
DnsProbeRunner
::kKnownGoodHostname, kTypeA, result));
dns_probe_service.cc
47
DnsProbeStatus EvaluateResults(
DnsProbeRunner
::Result system_result,
48
DnsProbeRunner
::Result public_result) {
50
if (system_result ==
DnsProbeRunner
::CORRECT)
55
if (public_result ==
DnsProbeRunner
::CORRECT)
61
if (public_result ==
DnsProbeRunner
::UNREACHABLE)
Completed in 41 milliseconds