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

Side by Side Diff: chromeos/network/onc/onc_signature.cc

Issue 563643002: Document cellular properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_9c
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 unified diff | Download patch
« no previous file with comments | « no previous file | chromeos/network/onc/onc_translation_tables.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/network/onc/onc_signature.h" 5 #include "chromeos/network/onc/onc_signature.h"
6 6
7 #include "components/onc/onc_constants.h" 7 #include "components/onc/onc_constants.h"
8 #include "third_party/cros_system_api/dbus/service_constants.h" 8 #include "third_party/cros_system_api/dbus/service_constants.h"
9 9
10 using base::Value; 10 using base::Value;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 { ::onc::cellular::kLastGoodAPN, &kCellularApnSignature }, 268 { ::onc::cellular::kLastGoodAPN, &kCellularApnSignature },
269 { ::onc::cellular::kManufacturer, &kStringSignature}, 269 { ::onc::cellular::kManufacturer, &kStringSignature},
270 { ::onc::cellular::kMDN, &kStringSignature}, 270 { ::onc::cellular::kMDN, &kStringSignature},
271 { ::onc::cellular::kMEID, &kStringSignature}, 271 { ::onc::cellular::kMEID, &kStringSignature},
272 { ::onc::cellular::kMIN, &kStringSignature}, 272 { ::onc::cellular::kMIN, &kStringSignature},
273 { ::onc::cellular::kModelID, &kStringSignature}, 273 { ::onc::cellular::kModelID, &kStringSignature},
274 { ::onc::cellular::kNetworkTechnology, &kStringSignature}, 274 { ::onc::cellular::kNetworkTechnology, &kStringSignature},
275 { ::onc::cellular::kPRLVersion, &kIntegerSignature}, 275 { ::onc::cellular::kPRLVersion, &kIntegerSignature},
276 { ::onc::cellular::kProviderRequiresRoaming, &kBoolSignature}, 276 { ::onc::cellular::kProviderRequiresRoaming, &kBoolSignature},
277 { ::onc::cellular::kRoamingState, &kStringSignature}, 277 { ::onc::cellular::kRoamingState, &kStringSignature},
278 { ::onc::cellular::kSelectedNetwork, &kStringSignature},
279 { ::onc::cellular::kServingOperator, &kCellularProviderSignature}, 278 { ::onc::cellular::kServingOperator, &kCellularProviderSignature},
280 { ::onc::cellular::kSIMLockStatus, &kSIMLockStatusSignature}, 279 { ::onc::cellular::kSIMLockStatus, &kSIMLockStatusSignature},
281 { ::onc::cellular::kSIMPresent, &kBoolSignature}, 280 { ::onc::cellular::kSIMPresent, &kBoolSignature},
282 { ::onc::cellular::kSupportNetworkScan, &kBoolSignature}, 281 { ::onc::cellular::kSupportNetworkScan, &kBoolSignature},
283 { ::onc::cellular::kSupportedCarriers, &kStringListSignature}, 282 { ::onc::cellular::kSupportedCarriers, &kStringListSignature},
284 {NULL}}; 283 {NULL}};
285 284
286 const OncFieldSignature network_configuration_fields[] = { 285 const OncFieldSignature network_configuration_fields[] = {
287 { ::onc::network_config::kCellular, &kCellularSignature}, 286 { ::onc::network_config::kCellular, &kCellularSignature},
288 { ::onc::network_config::kEthernet, &kEthernetSignature}, 287 { ::onc::network_config::kEthernet, &kEthernetSignature},
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 if (&signature == entry->value_signature && 493 if (&signature == entry->value_signature &&
495 onc_field_name == entry->field_name) { 494 onc_field_name == entry->field_name) {
496 return true; 495 return true;
497 } 496 }
498 } 497 }
499 return false; 498 return false;
500 } 499 }
501 500
502 } // namespace onc 501 } // namespace onc
503 } // namespace chromeos 502 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chromeos/network/onc/onc_translation_tables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698