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

Side by Side Diff: chrome/browser/chromeos/certificate_provider/certificate_provider.h

Issue 1274143002: ClientCertStoreChromeOS: support additional non-platform certs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored ClientCertStoreNSS. Created 5 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
7
8 #include <vector>
9
10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h"
12
13 namespace net {
14 class X509Certificate;
15 typedef std::vector<scoped_refptr<X509Certificate>> CertificateList;
davidben 2015/08/20 00:40:34 Per https://codereview.chromium.org/994743003/diff
pneubeck (no reviews) 2015/08/20 07:18:23 Done. I think we should fix all such existing forw
16 }
17
18 namespace chromeos {
19
20 class CertificateProvider {
21 public:
22 CertificateProvider() {}
23 virtual ~CertificateProvider() {}
24
25 virtual void GetCertificates(
26 const base::Callback<void(const net::CertificateList&)>& callback) = 0;
27
28 virtual scoped_ptr<CertificateProvider> Copy() = 0;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(CertificateProvider);
32 };
33
34 } // namespace chromeos
35
36 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698