Add Shill to ONC translation of IPConfig.
So far, the ONC IPConfig object was only validated but not translated to or from Shill.
This adds the one direction, from Shill to ONC.
This allows exposing the current IP config state of Shill through ONC, e.g. with in the networkingPrivate API.
BUG=288288
Review URL: https://codereview.chromium.org/249193003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266848 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 753eff5..be564cfa5 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -132,6 +132,7 @@
const char kIPAddress[] = "IPAddress";
const char kIPv4[] = "IPv4";
const char kIPv6[] = "IPv6";
+const char kNameServers[] = "NameServers";
const char kRoutingPrefix[] = "RoutingPrefix";
const char kType[] = "Type";
} // namespace ipconfig