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

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: Rebased. 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 #include "net/cert/x509_certificate.h"
13
14 namespace chromeos {
15
16 class CertificateProvider {
17 public:
18 CertificateProvider() {}
stevenjb 2015/08/24 21:09:38 nit: not needed?
19 virtual ~CertificateProvider() {}
20
21 virtual void GetCertificates(
22 const base::Callback<void(const net::CertificateList&)>& callback) = 0;
23
24 virtual scoped_ptr<CertificateProvider> Copy() = 0;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(CertificateProvider);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698