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

Side by Side Diff: ios/web/web_state/web_state_impl.mm

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios Created 4 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ios/web/web_state/web_state_impl.h" 5 #include "ios/web/web_state/web_state_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 bool WebStateImpl::IsShowingWebInterstitial() const { 338 bool WebStateImpl::IsShowingWebInterstitial() const {
339 // Technically we could have |interstitial_| set but its view isn't 339 // Technically we could have |interstitial_| set but its view isn't
340 // being displayed, but there's no code path where that could occur. 340 // being displayed, but there's no code path where that could occur.
341 return interstitial_ != nullptr; 341 return interstitial_ != nullptr;
342 } 342 }
343 343
344 WebInterstitial* WebStateImpl::GetWebInterstitial() const { 344 WebInterstitial* WebStateImpl::GetWebInterstitial() const {
345 return interstitial_; 345 return interstitial_;
346 } 346 }
347 347
348 int WebStateImpl::GetCertGroupId() const {
349 return request_tracker_->identifier();
350 }
351
352 net::HttpResponseHeaders* WebStateImpl::GetHttpResponseHeaders() const { 348 net::HttpResponseHeaders* WebStateImpl::GetHttpResponseHeaders() const {
353 return http_response_headers_.get(); 349 return http_response_headers_.get();
354 } 350 }
355 351
356 void WebStateImpl::OnHttpResponseHeadersReceived( 352 void WebStateImpl::OnHttpResponseHeadersReceived(
357 net::HttpResponseHeaders* response_headers, 353 net::HttpResponseHeaders* response_headers,
358 const GURL& resource_url) { 354 const GURL& resource_url) {
359 // Store the headers in a map until the page finishes loading, as we do not 355 // Store the headers in a map until the page finishes loading, as we do not
360 // know which URL corresponds to the main page yet. 356 // know which URL corresponds to the main page yet.
361 // Remove the hash (if any) as it is sometimes altered by in-page navigations. 357 // Remove the hash (if any) as it is sometimes altered by in-page navigations.
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 const LoadCommittedDetails& load_details) { 694 const LoadCommittedDetails& load_details) {
699 FOR_EACH_OBSERVER(WebStateObserver, observers_, 695 FOR_EACH_OBSERVER(WebStateObserver, observers_,
700 NavigationItemCommitted(load_details)); 696 NavigationItemCommitted(load_details));
701 } 697 }
702 698
703 WebState* WebStateImpl::GetWebState() { 699 WebState* WebStateImpl::GetWebState() {
704 return this; 700 return this;
705 } 701 }
706 702
707 } // namespace web 703 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/web_state_impl.h ('k') | testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698