Implement Windows GPO support for "dlpref".
This is a feature of the update protocol, which allows the
server to prioritize returning urls that can be cached
by downstream proxies.
BUG=579762
Review URL: https://codereview.chromium.org/1606943007
Cr-Commit-Position: refs/heads/master@{#371576}
diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h
index 7f261c4b..5d6a16a 100644
--- a/components/update_client/configurator.h
+++ b/components/update_client/configurator.h
@@ -77,6 +77,12 @@
// XML element.
virtual std::string ExtraRequestParams() const = 0;
+ // Provides a hint for the server to control the order in which multiple
+ // download urls are returned. The hint may or may not be honored in the
+ // response returned by the server.
+ // Returns an empty string if no policy is in effect.
+ virtual std::string GetDownloadPreference() const = 0;
+
// The source of contexts for all the url requests.
virtual net::URLRequestContextGetter* RequestContext() const = 0;