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

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

Issue 2836083002: [CrOS Tether] Update NetworkConfigurationHandler::GetShillProperties() to work with Tether networks. (Closed)
Patch Set: stevenjb@ comments. 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 unified diff | Download patch
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/onc/onc_utils.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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 {::onc::network_config::kEthernet, &kEthernetSignature}, 311 {::onc::network_config::kEthernet, &kEthernetSignature},
312 {::onc::network_config::kGUID, &kStringSignature}, 312 {::onc::network_config::kGUID, &kStringSignature},
313 {::onc::network_config::kIPAddressConfigType, &kStringSignature}, 313 {::onc::network_config::kIPAddressConfigType, &kStringSignature},
314 {::onc::network_config::kName, &kStringSignature}, 314 {::onc::network_config::kName, &kStringSignature},
315 {::onc::network_config::kNameServersConfigType, &kStringSignature}, 315 {::onc::network_config::kNameServersConfigType, &kStringSignature},
316 {::onc::network_config::kPriority, &kIntegerSignature}, 316 {::onc::network_config::kPriority, &kIntegerSignature},
317 {::onc::network_config::kProxySettings, &kProxySettingsSignature}, 317 {::onc::network_config::kProxySettings, &kProxySettingsSignature},
318 {::onc::kRecommended, &kRecommendedSignature}, 318 {::onc::kRecommended, &kRecommendedSignature},
319 {::onc::kRemove, &kBoolSignature}, 319 {::onc::kRemove, &kBoolSignature},
320 {::onc::network_config::kStaticIPConfig, &kStaticIPConfigSignature}, 320 {::onc::network_config::kStaticIPConfig, &kStaticIPConfigSignature},
321 {::onc::network_config::kTether, &kTetherSignature},
321 {::onc::network_config::kType, &kStringSignature}, 322 {::onc::network_config::kType, &kStringSignature},
322 {::onc::network_config::kVPN, &kVPNSignature}, 323 {::onc::network_config::kVPN, &kVPNSignature},
323 {::onc::network_config::kWiFi, &kWiFiSignature}, 324 {::onc::network_config::kWiFi, &kWiFiSignature},
324 {::onc::network_config::kWimax, &kWiMAXSignature}, 325 {::onc::network_config::kWimax, &kWiMAXSignature},
325 {NULL}}; 326 {NULL}};
326 327
327 const OncFieldSignature network_with_state_fields[] = { 328 const OncFieldSignature network_with_state_fields[] = {
328 {::onc::network_config::kCellular, &kCellularWithStateSignature}, 329 {::onc::network_config::kCellular, &kCellularWithStateSignature},
329 {::onc::network_config::kConnectionState, &kStringSignature}, 330 {::onc::network_config::kConnectionState, &kStringSignature},
330 {::onc::network_config::kConnectable, &kBoolSignature}, 331 {::onc::network_config::kConnectable, &kBoolSignature},
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 if (&signature == entry->value_signature && 498 if (&signature == entry->value_signature &&
498 onc_field_name == entry->field_name) { 499 onc_field_name == entry->field_name) {
499 return true; 500 return true;
500 } 501 }
501 } 502 }
502 return false; 503 return false;
503 } 504 }
504 505
505 } // namespace onc 506 } // namespace onc
506 } // namespace chromeos 507 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698