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

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

Issue 948943003: Better support for Cellular roaming state in ONC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 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
Index: chromeos/network/onc/onc_translation_tables.cc
diff --git a/chromeos/network/onc/onc_translation_tables.cc b/chromeos/network/onc/onc_translation_tables.cc
index fb1621754761a8ef967281309a44c7c3139884a2..f819b4723b24a9e81d9146ff09438af37da1722d 100644
--- a/chromeos/network/onc/onc_translation_tables.cc
+++ b/chromeos/network/onc/onc_translation_tables.cc
@@ -320,8 +320,8 @@ const StringTranslationEntry kActivationStateTable[] = {
{NULL}};
const StringTranslationEntry kRoamingStateTable[] = {
- { ::onc::cellular::kHome, shill::kRoamingStateHome},
- { ::onc::cellular::kRoaming, shill::kRoamingStateRoaming},
+ {::onc::cellular::kRoamingHome, shill::kRoamingStateHome},
armansito 2015/02/25 19:44:46 nit: it looks like there is a space after the open
stevenjb 2015/02/25 20:09:50 Done (although clang complains about this; some da
+ {::onc::cellular::kRoamingRoaming, shill::kRoamingStateRoaming},
{NULL}};
// This must contain only Shill Device properties and no Service properties.
@@ -347,8 +347,6 @@ const FieldTranslationEntry kCellularDeviceTable[] = {
{ ::onc::cellular::kMIN, shill::kMinProperty},
{ ::onc::cellular::kModelID, shill::kModelIDProperty},
{ ::onc::cellular::kPRLVersion, shill::kPRLVersionProperty},
- { ::onc::cellular::kProviderRequiresRoaming,
- shill::kProviderRequiresRoamingProperty},
// This field is converted during translation, see onc_translator_*.
// { ::onc::cellular::kSIMLockStatus, shill::kSIMLockStatusProperty},
{ ::onc::cellular::kSIMPresent, shill::kSIMPresentProperty},

Powered by Google App Engine
This is Rietveld 408576698