| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include <cert.h> | 5 #include <cert.h> |
| 6 #include <cryptohi.h> | 6 #include <cryptohi.h> |
| 7 #include <keyhi.h> | 7 #include <keyhi.h> |
| 8 #include <secder.h> | 8 #include <secder.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <utility> | 12 #include <utility> |
| 13 | 13 |
| 14 #include "base/bind.h" | 14 #include "base/bind.h" |
| 15 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" |
| 16 #include "base/callback.h" | 16 #include "base/callback.h" |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/location.h" | 18 #include "base/location.h" |
| 19 #include "base/logging.h" | 19 #include "base/logging.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/memory/ptr_util.h" | 21 #include "base/memory/ptr_util.h" |
| 22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
| 23 #include "base/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
| 24 #include "base/threading/worker_pool.h" | 24 #include "base/threading/worker_pool.h" |
| 25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
| 26 #include "chrome/browser/browser_process_platform_part_chromeos.h" | 26 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
| 27 #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" | 27 #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" |
| 28 #include "chrome/browser/chromeos/net/client_cert_filter_chromeos.h" | 28 #include "chrome/browser/chromeos/net/client_cert_filter_chromeos.h" |
| 29 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h" | 29 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h" |
| 30 #include "chrome/browser/chromeos/platform_keys/platform_keys.h" | 30 #include "chrome/browser/chromeos/platform_keys/platform_keys.h" |
| 31 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 31 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 32 #include "chrome/browser/extensions/api/enterprise_platform_keys/enterprise_plat
form_keys_api.h" | 32 #include "chrome/browser/extensions/api/enterprise_platform_keys/enterprise_plat
form_keys_api.h" |
| 33 #include "chrome/browser/net/nss_context.h" | 33 #include "chrome/browser/net/nss_context.h" |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 NSSOperationState* state_ptr = state.get(); | 898 NSSOperationState* state_ptr = state.get(); |
| 899 GetCertDatabase(std::string() /* don't get any specific slot */, | 899 GetCertDatabase(std::string() /* don't get any specific slot */, |
| 900 base::Bind(&GetTokensWithDB, base::Passed(&state)), | 900 base::Bind(&GetTokensWithDB, base::Passed(&state)), |
| 901 browser_context, | 901 browser_context, |
| 902 state_ptr); | 902 state_ptr); |
| 903 } | 903 } |
| 904 | 904 |
| 905 } // namespace platform_keys | 905 } // namespace platform_keys |
| 906 | 906 |
| 907 } // namespace chromeos | 907 } // namespace chromeos |
| OLD | NEW |