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

Side by Side Diff: content/public/browser/ssl_host_state_delegate.h

Issue 2921903003: Remove base::NonThreadSafe now that all users are gone!! (Closed)
Patch Set: rebase on r477274 Created 3 years, 6 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 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 #ifndef CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/threading/non_thread_safe.h"
13 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
14 #include "net/cert/x509_certificate.h" 13 #include "net/cert/x509_certificate.h"
15 14
16 namespace content { 15 namespace content {
17 16
18 // The SSLHostStateDelegate encapulates the host-specific state for SSL errors. 17 // The SSLHostStateDelegate encapulates the host-specific state for SSL errors.
19 // For example, SSLHostStateDelegate remembers whether the user has whitelisted 18 // For example, SSLHostStateDelegate remembers whether the user has whitelisted
20 // a particular broken cert for use with particular host. We separate this 19 // a particular broken cert for use with particular host. We separate this
21 // state from the SSLManager because this state is shared across many navigation 20 // state from the SSLManager because this state is shared across many navigation
22 // controllers. 21 // controllers.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // error combination exception is allowed, use QueryPolicy(). 81 // error combination exception is allowed, use QueryPolicy().
83 virtual bool HasAllowException(const std::string& host) const = 0; 82 virtual bool HasAllowException(const std::string& host) const = 0;
84 83
85 protected: 84 protected:
86 virtual ~SSLHostStateDelegate() {} 85 virtual ~SSLHostStateDelegate() {}
87 }; 86 };
88 87
89 } // namespace content 88 } // namespace content
90 89
91 #endif // CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_ 90 #endif // CONTENT_PUBLIC_BROWSER_SSL_HOST_STATE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/browser_compositor_output_surface.h ('k') | media/cast/net/pacing/paced_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698