#include <string>
#include "base/base64.h"
#include "base/base_paths.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/threading/thread_restrictions.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/permission_controller.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/permissions_test_utils.h"
#include "content/shell/browser/shell.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
#include "ui/base/clipboard/clipboard_buffer.h"
#include "ui/base/clipboard/file_info.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "ui/base/clipboard/test/test_clipboard.h"
#include "url/origin.h"
namespace content {
class ClipboardHostImplBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ClipboardHostImplBrowserTest, TextFile) { … }
IN_PROC_BROWSER_TEST_F(ClipboardHostImplBrowserTest, ImageFile) { … }
IN_PROC_BROWSER_TEST_F(ClipboardHostImplBrowserTest, Empty) { … }
IN_PROC_BROWSER_TEST_F(ClipboardHostImplBrowserTest, Multiple) { … }
class ClipboardDocUrlBrowserTestP : public ClipboardHostImplBrowserTest,
public testing::WithParamInterface<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
IN_PROC_BROWSER_TEST_P(ClipboardDocUrlBrowserTestP, HtmlUrl) { … }
class ClipboardBrowserTest : public ClipboardHostImplBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ClipboardBrowserTest, EmptyClipboard) { … }
IN_PROC_BROWSER_TEST_F(ClipboardBrowserTest, NumberOfFormatsOnRead) { … }
}