BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / chromeos / certificate_provider / certificate_provider.h
blobc17bfb7979aa189c91f72c0a96d37d487b92008f
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_
8 #include <vector>
10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h"
12 #include "net/cert/x509_certificate.h"
14 namespace chromeos {
16 class CertificateProvider {
17 public:
18 CertificateProvider() {}
19 virtual ~CertificateProvider() {}
21 virtual void GetCertificates(
22 const base::Callback<void(const net::CertificateList&)>& callback) = 0;
24 virtual scoped_ptr<CertificateProvider> Copy() = 0;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(CertificateProvider);
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_H_