OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <stddef.h> |
| 6 |
5 #include <cstdio> | 7 #include <cstdio> |
6 #include <iostream> | 8 #include <iostream> |
7 | 9 |
8 #include "base/basictypes.h" | |
9 #include "base/command_line.h" | 10 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
11 #include "base/json/json_file_value_serializer.h" | 12 #include "base/json/json_file_value_serializer.h" |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "chromeos/network/onc/onc_signature.h" | 15 #include "chromeos/network/onc/onc_signature.h" |
15 #include "chromeos/network/onc/onc_validator.h" | 16 #include "chromeos/network/onc/onc_validator.h" |
16 | 17 |
17 // TODO Check why this file do not fail on default trybots | 18 // TODO Check why this file do not fail on default trybots |
18 // http://crbug.com/543919 | 19 // http://crbug.com/543919 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 case chromeos::onc::Validator::VALID: | 159 case chromeos::onc::Validator::VALID: |
159 return kStatusValid; | 160 return kStatusValid; |
160 case chromeos::onc::Validator::VALID_WITH_WARNINGS: | 161 case chromeos::onc::Validator::VALID_WITH_WARNINGS: |
161 return kStatusWarnings; | 162 return kStatusWarnings; |
162 case chromeos::onc::Validator::INVALID: | 163 case chromeos::onc::Validator::INVALID: |
163 return kStatusInvalid; | 164 return kStatusInvalid; |
164 default: | 165 default: |
165 CHECK(false); | 166 CHECK(false); |
166 } | 167 } |
167 } | 168 } |
OLD | NEW |