OLD | NEW |
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 "chrome/browser/chromeos/network_settings/onc_translation_tables.h" | 5 #include "chromeos/network/onc/onc_translation_tables.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "chrome/browser/chromeos/cros/onc_constants.h" | 9 #include "chromeos/network/onc/onc_constants.h" |
10 #include "third_party/cros_system_api/dbus/service_constants.h" | 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 namespace onc { | 13 namespace onc { |
14 | 14 |
15 const StringTranslationEntry kNetworkTypeTable[] = { | 15 const StringTranslationEntry kNetworkTypeTable[] = { |
16 { kEthernet, flimflam::kTypeEthernet }, | 16 { kEthernet, flimflam::kTypeEthernet }, |
17 { kWiFi, flimflam::kTypeWifi }, | 17 { kWiFi, flimflam::kTypeWifi }, |
18 { kCellular, flimflam::kTypeCellular }, | 18 { kCellular, flimflam::kTypeCellular }, |
19 { kVPN, flimflam::kTypeVPN }, | 19 { kVPN, flimflam::kTypeVPN }, |
20 { NULL } | 20 { NULL } |
21 }; | 21 }; |
22 | 22 |
23 const StringTranslationEntry kVPNTypeTable[] = { | 23 const StringTranslationEntry kVPNTypeTable[] = { |
24 { vpn::kTypeL2TP_IPsec, flimflam::kProviderL2tpIpsec }, | 24 { vpn::kTypeL2TP_IPsec, flimflam::kProviderL2tpIpsec }, |
25 { vpn::kOpenVPN, flimflam::kProviderOpenVpn }, | 25 { vpn::kOpenVPN, flimflam::kProviderOpenVpn }, |
26 { NULL } | 26 { NULL } |
27 }; | 27 }; |
28 | 28 |
29 } // namespace onc | 29 } // namespace onc |
30 } // namespace chromeos | 30 } // namespace chromeos |
OLD | NEW |