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

Side by Side Diff: chrome/browser/chromeos/net/client_cert_filter_chromeos.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 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 CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h" 12 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h"
13 #include "crypto/scoped_nss_types.h" 13 #include "crypto/scoped_nss_types.h"
14 #include "net/cert/nss_profile_filter_chromeos.h" 14 #include "net/cert/nss_profile_filter_chromeos.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // A client certificate filter that filters by applying a 18 // A client certificate filter that filters by applying a
19 // NSSProfileFilterChromeOS. 19 // NSSProfileFilterChromeOS.
20 class ClientCertFilterChromeOS : public ClientCertStoreChromeOS::CertFilter { 20 class ClientCertFilterChromeOS : public ClientCertStoreChromeOS::CertFilter {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // not be initialized. 69 // not be initialized.
70 bool waiting_for_private_slot_; 70 bool waiting_for_private_slot_;
71 71
72 net::NSSProfileFilterChromeOS nss_profile_filter_; 72 net::NSSProfileFilterChromeOS nss_profile_filter_;
73 base::WeakPtrFactory<ClientCertFilterChromeOS> weak_ptr_factory_; 73 base::WeakPtrFactory<ClientCertFilterChromeOS> weak_ptr_factory_;
74 }; 74 };
75 75
76 } // namespace chromeos 76 } // namespace chromeos
77 77
78 #endif // CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_ 78 #endif // CHROME_BROWSER_CHROMEOS_NET_CLIENT_CERT_FILTER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698