Daniel d'Andrada | 6ac3d85 | 2023-03-27 16:05:31 | [diff] [blame^] | 1 | // Copyright 2023 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_SMART_CARD_CHROMEOS_SMART_CARD_DELEGATE_H_ |
| 6 | #define CHROME_BROWSER_SMART_CARD_CHROMEOS_SMART_CARD_DELEGATE_H_ |
| 7 | |
| 8 | #include "content/public/browser/smart_card_delegate.h" |
| 9 | |
| 10 | class ChromeOsSmartCardDelegate : public content::SmartCardDelegate { |
| 11 | public: |
| 12 | ChromeOsSmartCardDelegate(); |
| 13 | |
| 14 | // `content::SmartCardDelegate` overrides: |
| 15 | mojo::PendingRemote<device::mojom::SmartCardContextFactory> |
| 16 | GetSmartCardContextFactory(content::BrowserContext& browser_context) override; |
| 17 | bool SupportsReaderAddedRemovedNotifications() const override; |
| 18 | }; |
| 19 | |
| 20 | #endif // CHROME_BROWSER_SMART_CARD_CHROMEOS_SMART_CARD_DELEGATE_H_ |