DNS: Support reprioritization of requests.

Add HostResolver::ChangeRequestPriority, and make HostResolverImpl
update the priority of a request when it's called.

Also add an empty stub to HostResolverMojo, since it appears to ignore
priorities at the moment.

Let other HostResolver subclasses hit a NOTIMPLEMENTED(), since it's a
brand new method nobody's using in tests.

BUG=607296

Review-Url: https://codereview.chromium.org/1928743003
Cr-Commit-Position: refs/heads/master@{#391797}
diff --git a/net/dns/host_resolver_mojo.cc b/net/dns/host_resolver_mojo.cc
index 1daf633..d65a81e 100644
--- a/net/dns/host_resolver_mojo.cc
+++ b/net/dns/host_resolver_mojo.cc
@@ -92,6 +92,11 @@
   return ResolveFromCacheInternal(info, CacheKeyForRequest(info), addresses);
 }
 
+void HostResolverMojo::ChangeRequestPriority(RequestHandle req,
+                                             RequestPriority priority) {
+  // Do nothing, since Resolve() discarded the priority anyway.
+}
+
 void HostResolverMojo::CancelRequest(RequestHandle req) {
   DCHECK(thread_checker_.CalledOnValidThread());
   // Deleting the Job closes the HostResolverRequestClient connection,