// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sharing_hub/sharing_hub_model.h" #include "base/test/task_environment.h" #include "chrome/test/base/testing_profile.h" #include "content/public/test/browser_task_environment.h" #include "content/public/test/test_renderer_host.h" #include "content/public/test/web_contents_tester.h" #include "testing/gtest/include/gtest/gtest.h" class SharingHubModelTest : public ::testing::Test { … }; // TODO(crbug.com/40840434): This unit test won't work while // GetFirstPartyActions() depends on the WebContents being part of a valid // browser. We need to break that dependency before this test can be enabled. TEST_F(SharingHubModelTest, DISABLED_FirstPartyOptionsOfferedOnAllURLs) { … }