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

Side by Side Diff: ios/web/public/test/test_web_state.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
« no previous file with comments | « ios/web/public/test/test_web_state.h ('k') | ios/web/public/web_state/web_state.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/public/test/test_web_state.h" 5 #include "ios/web/public/test/test_web_state.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 bool TestWebState::IsShowingWebInterstitial() const { 93 bool TestWebState::IsShowingWebInterstitial() const {
94 return false; 94 return false;
95 } 95 }
96 96
97 WebInterstitial* TestWebState::GetWebInterstitial() const { 97 WebInterstitial* TestWebState::GetWebInterstitial() const {
98 return nullptr; 98 return nullptr;
99 } 99 }
100 100
101 int TestWebState::GetCertGroupId() const {
102 return 0;
103 }
104
105 void TestWebState::SetContentIsHTML(bool content_is_html) { 101 void TestWebState::SetContentIsHTML(bool content_is_html) {
106 content_is_html_ = content_is_html; 102 content_is_html_ = content_is_html;
107 } 103 }
108 104
109 const base::string16& TestWebState::GetTitle() const { 105 const base::string16& TestWebState::GetTitle() const {
110 return title_; 106 return title_;
111 } 107 }
112 108
113 bool TestWebState::IsLoading() const { 109 bool TestWebState::IsLoading() const {
114 return is_loading_; 110 return is_loading_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 shell::InterfaceRegistry* TestWebState::GetMojoInterfaceRegistry() { 145 shell::InterfaceRegistry* TestWebState::GetMojoInterfaceRegistry() {
150 return nullptr; 146 return nullptr;
151 } 147 }
152 148
153 base::WeakPtr<WebState> TestWebState::AsWeakPtr() { 149 base::WeakPtr<WebState> TestWebState::AsWeakPtr() {
154 NOTREACHED(); 150 NOTREACHED();
155 return base::WeakPtr<WebState>(); 151 return base::WeakPtr<WebState>();
156 } 152 }
157 153
158 } // namespace web 154 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/test/test_web_state.h ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698