Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: chromeos/tools/onc_validator/onc_validator.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/timezone/timezone_unittest.cc ('k') | chromeos/tpm/tpm_password_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chromeos/timezone/timezone_unittest.cc ('k') | chromeos/tpm/tpm_password_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698