| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "chrome/browser/chromeos/certificate_provider/certificate_info.h" | 15 #include "chrome/browser/chromeos/certificate_provider/certificate_info.h" |
| 15 #include "net/cert/x509_certificate.h" | 16 #include "net/cert/x509_certificate.h" |
| 16 | 17 |
| 17 namespace chromeos { | 18 namespace chromeos { |
| 18 namespace certificate_provider { | 19 namespace certificate_provider { |
| 19 | 20 |
| 20 class CertificateRequests { | 21 class CertificateRequests { |
| 21 public: | 22 public: |
| 22 CertificateRequests(); | 23 CertificateRequests(); |
| 23 ~CertificateRequests(); | 24 ~CertificateRequests(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 std::map<int, scoped_ptr<CertificateRequestState>> requests_; | 59 std::map<int, scoped_ptr<CertificateRequestState>> requests_; |
| 59 int next_free_request_id_ = 0; | 60 int next_free_request_id_ = 0; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(CertificateRequests); | 62 DISALLOW_COPY_AND_ASSIGN(CertificateRequests); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace certificate_provider | 65 } // namespace certificate_provider |
| 65 } // namespace chromeos | 66 } // namespace chromeos |
| 66 | 67 |
| 67 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ | 68 #endif // CHROME_BROWSER_CHROMEOS_CERTIFICATE_PROVIDER_CERTIFICATE_REQUESTS_H_ |
| OLD | NEW |