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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Fixed external handling order change for request start and redirects. Created 4 years, 5 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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void CancelCertificateSelection() override; 86 void CancelCertificateSelection() override;
87 87
88 // ResourceController implementation: 88 // ResourceController implementation:
89 void Resume() override; 89 void Resume() override;
90 void Cancel() override; 90 void Cancel() override;
91 void CancelAndIgnore() override; 91 void CancelAndIgnore() override;
92 void CancelWithError(int error_code) override; 92 void CancelWithError(int error_code) override;
93 93
94 void StartRequestInternal(); 94 void StartRequestInternal();
95 void CancelRequestInternal(int error, bool from_renderer); 95 void CancelRequestInternal(int error, bool from_renderer);
96 void FollowDeferredRedirectInternal();
96 void CompleteResponseStarted(); 97 void CompleteResponseStarted();
97 void StartReading(bool is_continuation); 98 void StartReading(bool is_continuation);
98 void ResumeReading(); 99 void ResumeReading();
99 void ReadMore(int* bytes_read); 100 void ReadMore(int* bytes_read);
100 // Passes a read result to the handler. 101 // Passes a read result to the handler.
101 void CompleteRead(int bytes_read); 102 void CompleteRead(int bytes_read);
102 void ResponseCompleted(); 103 void ResponseCompleted();
103 void CallDidFinishLoading(); 104 void CallDidFinishLoading();
104 void RecordHistograms(); 105 void RecordHistograms();
105 106
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 CertStore* cert_store_; 159 CertStore* cert_store_;
159 160
160 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 161 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
161 162
162 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); 163 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
163 }; 164 };
164 165
165 } // namespace content 166 } // namespace content
166 167
167 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 168 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698