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

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

Issue 2836083002: [CrOS Tether] Update NetworkConfigurationHandler::GetShillProperties() to work with Tether networks. (Closed)
Patch Set: Created 3 years, 8 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
Index: chromeos/network/onc/onc_utils.h
diff --git a/chromeos/network/onc/onc_utils.h b/chromeos/network/onc/onc_utils.h
index 2655c366e10bef99617e2d1521e8fc0d4c44f18d..b808e1a11ae1c32b66250473e4b9a9c4e7f83418 100644
--- a/chromeos/network/onc/onc_utils.h
+++ b/chromeos/network/onc/onc_utils.h
@@ -206,6 +206,14 @@ CHROMEOS_EXPORT bool HasPolicyForNetwork(const PrefService* profile_prefs,
const PrefService* local_state_prefs,
const NetworkState& network);
+// Returns whether |dict| is a Shill dictionary corresponding to a Tether
+// network.
+CHROMEOS_EXPORT bool IsTetherShillDictionary(const base::DictionaryValue& dict);
+
+// Returns whether |dict| is an ONC dictionary corresponding to a Tether
+// network.
+CHROMEOS_EXPORT bool IsTetherOncDictionary(const base::DictionaryValue& dict);
+
} // namespace onc
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698