OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CERTIFICATE_MANAGER_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ |
6 #define CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ | 6 #define CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
15 #include "net/cert/nss_cert_database.h" | 16 #include "net/cert/nss_cert_database.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 class BrowserContext; | 19 class BrowserContext; |
19 class ResourceContext; | 20 class ResourceContext; |
20 } // namespace content | 21 } // namespace content |
21 | 22 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 bool is_user_db_available_; | 161 bool is_user_db_available_; |
161 bool is_tpm_available_; | 162 bool is_tpm_available_; |
162 | 163 |
163 // The observer to notify when certificate list is refreshed. | 164 // The observer to notify when certificate list is refreshed. |
164 Observer* observer_; | 165 Observer* observer_; |
165 | 166 |
166 DISALLOW_COPY_AND_ASSIGN(CertificateManagerModel); | 167 DISALLOW_COPY_AND_ASSIGN(CertificateManagerModel); |
167 }; | 168 }; |
168 | 169 |
169 #endif // CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ | 170 #endif // CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ |
OLD | NEW |