| // Copyright 2023 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_ASH_POLICY_DLP_FILES_POLICY_NOTIFICATION_MANAGER_H_ |
| #define CHROME_BROWSER_ASH_POLICY_DLP_FILES_POLICY_NOTIFICATION_MANAGER_H_ |
| |
| #include "components/keyed_service/core/keyed_service.h" |
| |
| namespace content { |
| class BrowserContext; |
| } // namespace content |
| |
| namespace policy { |
| |
| // FilesPolicyNotificationManager is responsible for showing block and warning |
| // notifications/dialogs for files because of DLP and enterprise connectors |
| // policies. |
| class FilesPolicyNotificationManager : public KeyedService { |
| public: |
| explicit FilesPolicyNotificationManager(content::BrowserContext* context); |
| |
| FilesPolicyNotificationManager(const FilesPolicyNotificationManager&) = |
| delete; |
| FilesPolicyNotificationManager& operator=( |
| const FilesPolicyNotificationManager&) = delete; |
| |
| ~FilesPolicyNotificationManager() override; |
| }; |
| |
| } // namespace policy |
| |
| #endif // CHROME_BROWSER_ASH_POLICY_DLP_FILES_POLICY_NOTIFICATION_MANAGER_H_ |