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/certificate_pattern.h" | 5 #include "chromeos/network/certificate_pattern.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/values.h" | 10 #include "base/values.h" |
9 #include "components/onc/onc_constants.h" | 11 #include "components/onc/onc_constants.h" |
10 | 12 |
11 namespace chromeos { | 13 namespace chromeos { |
12 | 14 |
13 namespace { | 15 namespace { |
14 | 16 |
15 bool GetAsListOfStrings(const base::Value& value, | 17 bool GetAsListOfStrings(const base::Value& value, |
16 std::vector<std::string>* result) { | 18 std::vector<std::string>* result) { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 &child_list) && | 126 &child_list) && |
125 child_list) { | 127 child_list) { |
126 if (!GetAsListOfStrings(*child_list, &enrollment_uri_list_)) | 128 if (!GetAsListOfStrings(*child_list, &enrollment_uri_list_)) |
127 return false; | 129 return false; |
128 } | 130 } |
129 | 131 |
130 return true; | 132 return true; |
131 } | 133 } |
132 | 134 |
133 } // namespace chromeos | 135 } // namespace chromeos |
OLD | NEW |