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

Unified Diff: chromeos/network/onc/onc_signature.h

Issue 12390017: Separating ONC<->Shill translation from the ONC signature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed browser tests. Created 7 years, 10 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/onc/onc_mapper.cc ('k') | chromeos/network/onc/onc_signature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_signature.h
diff --git a/chromeos/network/onc/onc_signature.h b/chromeos/network/onc/onc_signature.h
index ee637feaa798f643036b5b51e5fbe457baf4e80b..c321e8ff7a86d76daa2f91668b88bcc624d42a13 100644
--- a/chromeos/network/onc/onc_signature.h
+++ b/chromeos/network/onc/onc_signature.h
@@ -17,7 +17,6 @@ struct OncValueSignature;
struct OncFieldSignature {
const char* onc_field_name;
- const char* shill_property_name;
const OncValueSignature* value_signature;
};
@@ -25,6 +24,7 @@ struct CHROMEOS_EXPORT OncValueSignature {
base::Value::Type onc_type;
const OncFieldSignature* fields;
const OncValueSignature* onc_array_entry_signature;
+ const OncValueSignature* base_signature;
};
CHROMEOS_EXPORT const OncFieldSignature* GetFieldSignature(
@@ -45,7 +45,6 @@ CHROMEOS_EXPORT extern const OncValueSignature kProxyLocationSignature;
CHROMEOS_EXPORT extern const OncValueSignature kProxyManualSignature;
CHROMEOS_EXPORT extern const OncValueSignature kProxySettingsSignature;
CHROMEOS_EXPORT extern const OncValueSignature kWiFiSignature;
-CHROMEOS_EXPORT extern const OncValueSignature kCellularSignature;
CHROMEOS_EXPORT extern const OncValueSignature kCertificateSignature;
CHROMEOS_EXPORT extern const OncValueSignature kNetworkConfigurationSignature;
CHROMEOS_EXPORT extern const OncValueSignature kCertificateListSignature;
@@ -53,6 +52,11 @@ CHROMEOS_EXPORT extern const OncValueSignature
kNetworkConfigurationListSignature;
CHROMEOS_EXPORT extern const OncValueSignature kToplevelConfigurationSignature;
+// Derived "ONC with State" signatures.
+CHROMEOS_EXPORT extern const OncValueSignature kNetworkWithStateSignature;
+CHROMEOS_EXPORT extern const OncValueSignature kWiFiWithStateSignature;
+CHROMEOS_EXPORT extern const OncValueSignature kCellularWithStateSignature;
+
} // namespace onc
} // namespace chromeos
« no previous file with comments | « chromeos/network/onc/onc_mapper.cc ('k') | chromeos/network/onc/onc_signature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698