| 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/network_parser.h" | 5 #include "chrome/browser/chromeos/cros/network_parser.h" |
| 6 | 6 |
| 7 #include "base/json/json_reader.h" | 7 #include "base/json/json_reader.h" |
| 8 #include "base/json/json_writer.h" // for debug output only. | 8 #include "base/json/json_writer.h" // for debug output only. |
| 9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 // Needed only for debug output (ConnectionTypeToString). | 11 // Needed only for debug output (ConnectionTypeToString). |
| 12 #include "chrome/browser/chromeos/cros/native_network_constants.h" | 12 #include "chrome/browser/chromeos/cros/native_network_constants.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 NetworkDeviceParser::NetworkDeviceParser( | 16 NetworkDeviceParser::NetworkDeviceParser( |
| 17 const EnumMapper<PropertyIndex>* mapper) : mapper_(mapper) { | 17 const EnumMapper<PropertyIndex>* mapper) : mapper_(mapper) { |
| 18 CHECK(mapper); | 18 CHECK(mapper); |
| 19 } | 19 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 network->set_ui_data(NetworkUIData(*ui_data_dict)); | 210 network->set_ui_data(NetworkUIData(*ui_data_dict)); |
| 211 return true; | 211 return true; |
| 212 } | 212 } |
| 213 default: | 213 default: |
| 214 break; | 214 break; |
| 215 } | 215 } |
| 216 return false; | 216 return false; |
| 217 } | 217 } |
| 218 | 218 |
| 219 } // namespace chromeos | 219 } // namespace chromeos |
| OLD | NEW |