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

Side by Side Diff: content/browser/loader/resource_loader.h

Issue 1772603002: Addition of Certificate Transparency details to Security panel of DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed SignedCertificateTimestampStore and SignedCertificateTimestampIDStatus(List) Created 4 years, 9 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
OLDNEW
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 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
12 #include "content/browser/loader/resource_handler.h" 12 #include "content/browser/loader/resource_handler.h"
13 #include "content/browser/ssl/ssl_client_auth_handler.h" 13 #include "content/browser/ssl/ssl_client_auth_handler.h"
14 #include "content/browser/ssl/ssl_error_handler.h" 14 #include "content/browser/ssl/ssl_error_handler.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/public/browser/resource_controller.h" 16 #include "content/public/browser/resource_controller.h"
17 #include "content/public/common/signed_certificate_timestamp_id_and_status.h"
18 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
19 18
20 namespace net { 19 namespace net {
21 class X509Certificate; 20 class X509Certificate;
22 } 21 }
23 22
24 namespace content { 23 namespace content {
25 class ResourceDispatcherHostLoginDelegate; 24 class ResourceDispatcherHostLoginDelegate;
26 class ResourceLoaderDelegate; 25 class ResourceLoaderDelegate;
27 class ResourceRequestInfoImpl; 26 class ResourceRequestInfoImpl;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void CancelCertificateSelection() override; 75 void CancelCertificateSelection() override;
77 76
78 // ResourceController implementation: 77 // ResourceController implementation:
79 void Resume() override; 78 void Resume() override;
80 void Cancel() override; 79 void Cancel() override;
81 void CancelAndIgnore() override; 80 void CancelAndIgnore() override;
82 void CancelWithError(int error_code) override; 81 void CancelWithError(int error_code) override;
83 82
84 void StartRequestInternal(); 83 void StartRequestInternal();
85 void CancelRequestInternal(int error, bool from_renderer); 84 void CancelRequestInternal(int error, bool from_renderer);
86 // Stores the SignedCertificateTimestamps held in |sct_list| in the
87 // SignedCertificateTimestampStore singleton, associated with |process_id|.
88 // On return, |sct_ids| contains the assigned ID and verification status of
89 // each SignedCertificateTimestamp.
90 void StoreSignedCertificateTimestamps(
91 const net::SignedCertificateTimestampAndStatusList& sct_list,
92 int process_id,
93 SignedCertificateTimestampIDStatusList* sct_ids);
94 void CompleteResponseStarted(); 85 void CompleteResponseStarted();
95 void StartReading(bool is_continuation); 86 void StartReading(bool is_continuation);
96 void ResumeReading(); 87 void ResumeReading();
97 void ReadMore(int* bytes_read); 88 void ReadMore(int* bytes_read);
98 // Passes a read result to the handler. 89 // Passes a read result to the handler.
99 void CompleteRead(int bytes_read); 90 void CompleteRead(int bytes_read);
100 void ResponseCompleted(); 91 void ResponseCompleted();
101 void CallDidFinishLoading(); 92 void CallDidFinishLoading();
102 void RecordHistograms(); 93 void RecordHistograms();
103 94
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 int times_cancelled_after_request_start_; 137 int times_cancelled_after_request_start_;
147 138
148 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 139 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
149 140
150 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); 141 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
151 }; 142 };
152 143
153 } // namespace content 144 } // namespace content
154 145
155 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 146 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698