// Copyright 2024 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_ENTERPRISE_DATA_PROTECTION_PASTE_ALLOWED_REQUEST_H_ #define CHROME_BROWSER_ENTERPRISE_DATA_PROTECTION_PASTE_ALLOWED_REQUEST_H_ #include <map> #include <optional> #include "base/containers/flat_map.h" #include "content/public/browser/clipboard_types.h" #include "content/public/browser/content_browser_client.h" namespace enterprise_data_protection { // Keeps track of a request to see if some clipboard content, identified by // its sequence number, is allowed to be pasted into the RenderFrameHost // that owns this clipboard host. // // A request starts in the state incomplete until Complete() is called with // a value. Callbacks can be added to the request before or after it has // completed. class PasteAllowedRequest { … }; } // namespace enterprise_data_protection #endif // CHROME_BROWSER_ENTERPRISE_DATA_PROTECTION_PASTE_ALLOWED_REQUEST_H_