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

Unified Diff: chromeos/network/host_resolver_impl_chromeos_unittest.cc

Issue 384503005: Merge 280230 "Flag myIpAddress requests for chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 5 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 | « chromeos/network/host_resolver_impl_chromeos.cc ('k') | net/dns/host_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/host_resolver_impl_chromeos_unittest.cc
===================================================================
--- chromeos/network/host_resolver_impl_chromeos_unittest.cc (revision 282214)
+++ chromeos/network/host_resolver_impl_chromeos_unittest.cc (working copy)
@@ -156,6 +156,7 @@
net::HostResolver::RequestInfo info(
net::HostPortPair(net::GetHostName(), 80));
info.set_address_family(net::ADDRESS_FAMILY_IPV4);
+ info.set_is_my_ip_address(true);
EXPECT_EQ(net::OK, CallResolve(info));
ASSERT_EQ(1u, addresses_.size());
std::string expected = base::StringPrintf("%s:%d", kTestIPv4Address, 0);
« no previous file with comments | « chromeos/network/host_resolver_impl_chromeos.cc ('k') | net/dns/host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698