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

Side by Side Diff: components/ssl_errors/error_info.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months 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 | « components/ssl_errors/error_info.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/ssl_errors/error_info.h" 5 #include "components/ssl_errors/error_info.h"
6 6
7 #include <stddef.h>
8
7 #include "base/i18n/message_formatter.h" 9 #include "base/i18n/message_formatter.h"
10 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
9 #include "grit/components_strings.h" 12 #include "grit/components_strings.h"
10 #include "net/base/escape.h" 13 #include "net/base/escape.h"
11 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
12 #include "net/cert/cert_status_flags.h" 15 #include "net/cert/cert_status_flags.h"
13 #include "net/ssl/ssl_info.h" 16 #include "net/ssl/ssl_info.h"
14 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
15 #include "url/gurl.h" 18 #include "url/gurl.h"
16 19
17 using base::UTF8ToUTF16; 20 using base::UTF8ToUTF16;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 249
247 for (size_t i = 0; i < arraysize(kErrorFlags); ++i) { 250 for (size_t i = 0; i < arraysize(kErrorFlags); ++i) {
248 if ((cert_status & kErrorFlags[i]) && errors) { 251 if ((cert_status & kErrorFlags[i]) && errors) {
249 errors->push_back( 252 errors->push_back(
250 ErrorInfo::CreateError(kErrorTypes[i], cert.get(), url)); 253 ErrorInfo::CreateError(kErrorTypes[i], cert.get(), url));
251 } 254 }
252 } 255 }
253 } 256 }
254 257
255 } // namespace ssl_errors 258 } // namespace ssl_errors
OLDNEW
« no previous file with comments | « components/ssl_errors/error_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698