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

Side by Side Diff: content/browser/ssl/ssl_policy_backend.h

Issue 7542029: Profiles: SSLManger broadcasts SSL_INTERNAL_STATE_CHANGED with a NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move from NavigationController to BrowserContext as the source. Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SSL_SSL_POLICY_BACKEND_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_
6 #define CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ 6 #define CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 void AllowCertForHost(net::X509Certificate* cert, const std::string& host); 33 void AllowCertForHost(net::X509Certificate* cert, const std::string& host);
34 34
35 // Queries whether |cert| is allowed or denied for |host|. 35 // Queries whether |cert| is allowed or denied for |host|.
36 net::CertPolicy::Judgment QueryPolicy( 36 net::CertPolicy::Judgment QueryPolicy(
37 net::X509Certificate* cert, const std::string& host); 37 net::X509Certificate* cert, const std::string& host);
38 38
39 private: 39 private:
40 // SSL state specific for each host. 40 // SSL state specific for each host.
41 SSLHostState* ssl_host_state_; 41 SSLHostState* ssl_host_state_;
42 42
43 NavigationController* controller_;
44
43 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); 45 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend);
44 }; 46 };
45 47
46 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ 48 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698