| 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/cros/native_network_parser.h" | 5 #include "chrome/browser/chromeos/cros/native_network_parser.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/stringprintf.h" | 9 #include "base/strings/string_util.h" |
| 10 #include "base/string_util.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "chrome/browser/chromeos/cros/native_network_constants.h" | 12 #include "chrome/browser/chromeos/cros/native_network_constants.h" |
| 13 #include "chrome/browser/chromeos/cros/network_library.h" | 13 #include "chrome/browser/chromeos/cros/network_library.h" |
| 14 #include "chrome/browser/chromeos/login/user_manager.h" | 14 #include "chrome/browser/chromeos/login/user_manager.h" |
| 15 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 // Local constants. | 19 // Local constants. |
| 20 namespace { | 20 namespace { |
| (...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1453 PROVIDER_TYPE_MAX)); | 1453 PROVIDER_TYPE_MAX)); |
| 1454 return &parser; | 1454 return &parser; |
| 1455 } | 1455 } |
| 1456 | 1456 |
| 1457 ProviderType NativeVirtualNetworkParser::ParseProviderType( | 1457 ProviderType NativeVirtualNetworkParser::ParseProviderType( |
| 1458 const std::string& type) { | 1458 const std::string& type) { |
| 1459 return provider_type_mapper()->Get(type); | 1459 return provider_type_mapper()->Get(type); |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 } // namespace chromeos | 1462 } // namespace chromeos |
| OLD | NEW |