#include <memory>
#include <string>
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h"
#include "chrome/browser/sync/test/integration/sessions_helper.h"
#include "chrome/browser/ui/views/sharing/sharing_browsertest.h"
#include "components/sharing_message/features.h"
#include "components/sharing_message/sharing_constants.h"
#include "components/sharing_message/sharing_metrics.h"
#include "components/sharing_message/sharing_sync_preference.h"
#include "components/sync/service/sync_service_impl.h"
#include "content/public/test/browser_test.h"
#include "url/gurl.h"
namespace {
const char kSelectedText[] = …;
const char kTestPageURL[] = …;
}
class SharedClipboardBrowserTestBase : public SharingBrowserTest { … };
SharedClipboardUIFeatureDisabledBrowserTest;
IN_PROC_BROWSER_TEST_F(SharedClipboardUIFeatureDisabledBrowserTest,
ContextMenu_UIFeatureDisabled) { … }