| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_list.h" | 5 #include "chrome/browser/chromeos/network_list.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/chromeos/cros/cros_library.h" | 9 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 9 #include "grit/generated_resources.h" | 10 #include "grit/generated_resources.h" |
| 10 | 11 |
| 11 namespace chromeos { | 12 namespace chromeos { |
| 12 | 13 |
| 13 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
| 14 // NetworkList, public: | 15 // NetworkList, public: |
| 15 | 16 |
| 16 NetworkList::NetworkList() { | 17 NetworkList::NetworkList() { |
| 17 } | 18 } |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 bool connected, | 141 bool connected, |
| 141 bool connecting) { | 142 bool connecting) { |
| 142 if (connected) { | 143 if (connected) { |
| 143 connected_networks_.push_back(index); | 144 connected_networks_.push_back(index); |
| 144 } else if (connecting) { | 145 } else if (connecting) { |
| 145 connecting_networks_.push_back(index); | 146 connecting_networks_.push_back(index); |
| 146 } | 147 } |
| 147 } | 148 } |
| 148 | 149 |
| 149 } // namespace chromeos | 150 } // namespace chromeos |
| OLD | NEW |