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 "chromeos/network/network_state_handler.h" | 5 #include "chromeos/network/network_state_handler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
9 #include "base/guid.h" | 11 #include "base/guid.h" |
10 #include "base/json/json_string_value_serializer.h" | 12 #include "base/json/json_string_value_serializer.h" |
11 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
12 #include "base/location.h" | 14 #include "base/location.h" |
13 #include "base/logging.h" | 15 #include "base/logging.h" |
14 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
15 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
16 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 if (type.MatchesType(shill::kTypeBluetooth)) | 996 if (type.MatchesType(shill::kTypeBluetooth)) |
995 technologies.push_back(new std::string(shill::kTypeBluetooth)); | 997 technologies.push_back(new std::string(shill::kTypeBluetooth)); |
996 if (type.MatchesType(shill::kTypeVPN)) | 998 if (type.MatchesType(shill::kTypeVPN)) |
997 technologies.push_back(new std::string(shill::kTypeVPN)); | 999 technologies.push_back(new std::string(shill::kTypeVPN)); |
998 | 1000 |
999 CHECK_GT(technologies.size(), 0ul); | 1001 CHECK_GT(technologies.size(), 0ul); |
1000 return technologies.Pass(); | 1002 return technologies.Pass(); |
1001 } | 1003 } |
1002 | 1004 |
1003 } // namespace chromeos | 1005 } // namespace chromeos |
OLD | NEW |