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

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

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_MANAGER_H_
6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_ 6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/browser/ssl/ssl_error_handler.h" 13 #include "content/browser/ssl/ssl_error_handler.h"
14 #include "content/browser/ssl/ssl_policy_backend.h" 14 #include "content/browser/ssl/ssl_policy_backend.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/public/browser/global_request_id.h" 16 #include "content/public/browser/global_request_id.h"
17 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
18 #include "net/cert/cert_status_flags.h" 18 #include "net/cert/cert_status_flags.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 namespace net { 21 namespace net {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // actually made. 97 // actually made.
98 void UpdateEntry(NavigationEntryImpl* entry); 98 void UpdateEntry(NavigationEntryImpl* entry);
99 99
100 // Notifies the WebContents that the SSL state changed. 100 // Notifies the WebContents that the SSL state changed.
101 void NotifyDidChangeVisibleSSLState(); 101 void NotifyDidChangeVisibleSSLState();
102 102
103 // The backend for the SSLPolicy to actuate its decisions. 103 // The backend for the SSLPolicy to actuate its decisions.
104 SSLPolicyBackend backend_; 104 SSLPolicyBackend backend_;
105 105
106 // The SSLPolicy instance for this manager. 106 // The SSLPolicy instance for this manager.
107 scoped_ptr<SSLPolicy> policy_; 107 std::unique_ptr<SSLPolicy> policy_;
108 108
109 // The NavigationController that owns this SSLManager. We are responsible 109 // The NavigationController that owns this SSLManager. We are responsible
110 // for the security UI of this tab. 110 // for the security UI of this tab.
111 NavigationControllerImpl* controller_; 111 NavigationControllerImpl* controller_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(SSLManager); 113 DISALLOW_COPY_AND_ASSIGN(SSLManager);
114 }; 114 };
115 115
116 } // namespace content 116 } // namespace content
117 117
118 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ 118 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/storage_partition_impl_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698