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

Unified Diff: chromeos/network/onc/onc_translator_shill_to_onc.cc

Issue 1033843003: Add NetworkTechnology types to ONC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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_translator_shill_to_onc.cc
diff --git a/chromeos/network/onc/onc_translator_shill_to_onc.cc b/chromeos/network/onc/onc_translator_shill_to_onc.cc
index 7b549d063f13f9a14b5db65a10a9831970e79841..a97d51e778fe88447e1323aafca65e56d6c11344 100644
--- a/chromeos/network/onc/onc_translator_shill_to_onc.cc
+++ b/chromeos/network/onc/onc_translator_shill_to_onc.cc
@@ -354,6 +354,9 @@ void ShillToONCTranslator::TranslateCellularWithState() {
TranslateWithTableAndSet(shill::kActivationStateProperty,
kActivationStateTable,
::onc::cellular::kActivationState);
+ TranslateWithTableAndSet(shill::kNetworkTechnologyProperty,
+ kNetworkTechnologyTable,
+ ::onc::cellular::kNetworkTechnology);
const base::DictionaryValue* dictionary = NULL;
if (shill_dictionary_->GetDictionaryWithoutPathExpansion(
shill::kServingOperatorProperty, &dictionary)) {
« no previous file with comments | « chromeos/network/onc/onc_translation_tables.cc ('k') | chromeos/test/data/network/shill_cellular_with_state.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698