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

Unified Diff: components/onc/onc_constants.cc

Issue 552113002: Add ONC 'Source' configuration property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_9a
Patch Set: Rebase Created 6 years, 3 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
« components/onc/docs/onc_spec.html ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/onc/onc_constants.cc
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 4970ec4c387f1916d56f0717cf892eb1d1247c25..94797cd4e189322d885f186dce760b52fb721c0a 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -34,22 +34,26 @@ const char kUnencryptedConfiguration[] = "UnencryptedConfiguration";
// Network Configuration
namespace network_config {
const char kCellular[] = "Cellular";
+const char kConnectable[] = "Connectable";
+const char kConnectionState[] = "ConnectionState";
const char kDevice[] = "Device";
+const char kErrorState[] = "ErrorState";
const char kEthernet[] = "Ethernet";
const char kGUID[] = "GUID";
const char kIPConfigs[] = "IPConfigs";
-const char kSavedIPConfig[] = "SavedIPConfig";
-const char kStaticIPConfig[] = "StaticIPConfig";
const char kMacAddress[] = "MacAddress";
-const char kName[] = "Name";
const char kNameServers[] = "NameServers";
+const char kName[] = "Name";
const char kPriority[] = "Priority";
const char kProxySettings[] = "ProxySettings";
-const char kSearchDomains[] = "SearchDomains";
-const char kConnectionState[] = "ConnectionState";
const char kRestrictedConnectivity[] = "RestrictedConnectivity";
-const char kConnectable[] = "Connectable";
-const char kErrorState[] = "ErrorState";
+const char kSavedIPConfig[] = "SavedIPConfig";
+const char kSearchDomains[] = "SearchDomains";
+const char kSourceDevice[] = "Device";
+const char kSourceNone[] = "None";
+const char kSourceUser[] = "User";
+const char kSource[] = "Source";
+const char kStaticIPConfig[] = "StaticIPConfig";
const char kType[] = "Type";
const char kVPN[] = "VPN";
const char kWiFi[] = "WiFi";
« components/onc/docs/onc_spec.html ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698