| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback_old.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 | 14 |
| 15 namespace crypto { | 15 namespace crypto { |
| 16 class CryptoModuleBlockingPasswordDelegate; | 16 class CryptoModuleBlockingPasswordDelegate; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 class CryptoModule; | 20 class CryptoModule; |
| 21 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList; | 21 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList; |
| 22 class X509Certificate; | 22 class X509Certificate; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // called when done (regardless if module was successfully unlocked or not). | 65 // called when done (regardless if module was successfully unlocked or not). |
| 66 // Should only be called on UI thread. | 66 // Should only be called on UI thread. |
| 67 void UnlockCertSlotIfNecessary(net::X509Certificate* cert, | 67 void UnlockCertSlotIfNecessary(net::X509Certificate* cert, |
| 68 browser::CryptoModulePasswordReason reason, | 68 browser::CryptoModulePasswordReason reason, |
| 69 const std::string& server, | 69 const std::string& server, |
| 70 Callback0::Type* callback); | 70 Callback0::Type* callback); |
| 71 | 71 |
| 72 } // namespace browser | 72 } // namespace browser |
| 73 | 73 |
| 74 #endif // CHROME_BROWSER_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ | 74 #endif // CHROME_BROWSER_UI_CRYPTO_MODULE_PASSWORD_DIALOG_H_ |
| OLD | NEW |