| // Copyright 2021 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DLP_DLP_DRAG_DROP_NOTIFIER_H_ |
| #define CHROME_BROWSER_CHROMEOS_POLICY_DLP_DLP_DRAG_DROP_NOTIFIER_H_ |
| |
| #include "chrome/browser/chromeos/policy/dlp/dlp_data_transfer_notifier.h" |
| |
| namespace policy { |
| |
| class DlpDragDropNotifier : public DlpDataTransferNotifier { |
| public: |
| DlpDragDropNotifier(); |
| ~DlpDragDropNotifier() override; |
| |
| DlpDragDropNotifier(const DlpDragDropNotifier&) = delete; |
| void operator=(const DlpDragDropNotifier&) = delete; |
| |
| // DlpDataTransferNotifier:: |
| void NotifyBlockedAction( |
| const ui::DataTransferEndpoint* const data_src, |
| const ui::DataTransferEndpoint* const data_dst) override; |
| }; |
| |
| } // namespace policy |
| |
| #endif // CHROME_BROWSER_CHROMEOS_POLICY_DLP_DLP_DRAG_DROP_NOTIFIER_H_ |