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

Side by Side Diff: ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
6 #define IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 6 #define IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 12 matching lines...) Expand all
23 public web::WebStateUserData<IOSChromeSecurityStateModelClient> { 23 public web::WebStateUserData<IOSChromeSecurityStateModelClient> {
24 public: 24 public:
25 ~IOSChromeSecurityStateModelClient() override; 25 ~IOSChromeSecurityStateModelClient() override;
26 26
27 void GetSecurityInfo( 27 void GetSecurityInfo(
28 security_state::SecurityStateModel::SecurityInfo* result) const; 28 security_state::SecurityStateModel::SecurityInfo* result) const;
29 29
30 // SecurityStateModelClient: 30 // SecurityStateModelClient:
31 void GetVisibleSecurityState( 31 void GetVisibleSecurityState(
32 security_state::SecurityStateModel::VisibleSecurityState* state) override; 32 security_state::SecurityStateModel::VisibleSecurityState* state) override;
33 bool RetrieveCert(scoped_refptr<net::X509Certificate>* cert) override;
34 bool UsedPolicyInstalledCertificate() override; 33 bool UsedPolicyInstalledCertificate() override;
35 bool IsOriginSecure(const GURL& url) override; 34 bool IsOriginSecure(const GURL& url) override;
36 35
37 private: 36 private:
38 explicit IOSChromeSecurityStateModelClient(web::WebState* web_state); 37 explicit IOSChromeSecurityStateModelClient(web::WebState* web_state);
39 friend class web::WebStateUserData<IOSChromeSecurityStateModelClient>; 38 friend class web::WebStateUserData<IOSChromeSecurityStateModelClient>;
40 39
41 web::WebState* web_state_; 40 web::WebState* web_state_;
42 std::unique_ptr<security_state::SecurityStateModel> security_state_model_; 41 std::unique_ptr<security_state::SecurityStateModel> security_state_model_;
43 42
44 DISALLOW_COPY_AND_ASSIGN(IOSChromeSecurityStateModelClient); 43 DISALLOW_COPY_AND_ASSIGN(IOSChromeSecurityStateModelClient);
45 }; 44 };
46 45
47 #endif // IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 46 #endif // IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/common/security_style.h ('k') | ios/chrome/browser/ssl/ios_chrome_security_state_model_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698