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

Side by Side Diff: net/test/url_request/ssl_certificate_error_job.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/test/test_certificate_data.h ('k') | net/test/url_request/url_request_failed_job.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 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 "net/test/url_request/ssl_certificate_error_job.h" 5 #include "net/test/url_request/ssl_certificate_error_job.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
12 #include "net/ssl/ssl_info.h" 13 #include "net/ssl/ssl_info.h"
13 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
14 #include "net/url_request/url_request_filter.h" 15 #include "net/url_request/url_request_filter.h"
15 #include "net/url_request/url_request_interceptor.h" 16 #include "net/url_request/url_request_interceptor.h"
16 17
17 namespace net { 18 namespace net {
18 19
19 namespace { 20 namespace {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 SSLCertificateErrorJob::~SSLCertificateErrorJob() { 65 SSLCertificateErrorJob::~SSLCertificateErrorJob() {
65 } 66 }
66 67
67 void SSLCertificateErrorJob::NotifyError() { 68 void SSLCertificateErrorJob::NotifyError() {
68 SSLInfo info; 69 SSLInfo info;
69 info.cert_status = CERT_STATUS_DATE_INVALID; 70 info.cert_status = CERT_STATUS_DATE_INVALID;
70 NotifySSLCertificateError(info, true); 71 NotifySSLCertificateError(info, true);
71 } 72 }
72 73
73 } // namespace net 74 } // namespace net
OLDNEW
« no previous file with comments | « net/test/test_certificate_data.h ('k') | net/test/url_request/url_request_failed_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698