#include "chrome/browser/extensions/extension_tab_util.h"
#include "base/json/json_reader.h"
#include "base/test/gmock_expected_support.h"
#include "base/values.h"
#include "chrome/browser/extensions/api/tabs/tabs_constants.h"
#include "chrome/browser/extensions/extension_service_test_base.h"
#include "chrome/browser/extensions/extension_util.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "extensions/browser/pref_names.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/mojom/context_type.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForTabsPermission) { … }
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForNoPermission) { … }
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForHostPermission) { … }
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForNoExtension) { … }
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForWebUI) { … }
TEST(ExtensionTabUtilTest, ScrubTabBehaviorForWebUIUntrusted) { … }
TEST(ExtensionTabUtilTest, ResolvePossiblyRelativeURL) { … }
class ChromeExtensionNavigationTest : public ExtensionServiceTestBase { … };
void ChromeExtensionNavigationTest::SetUp() { … }
TEST_F(ChromeExtensionNavigationTest, PrepareURLForNavigation) { … }
TEST_F(ChromeExtensionNavigationTest,
PrepareURLForNavigationWithEnterprisePolicy) { … }
TEST_F(ChromeExtensionNavigationTest, PrepareURLForNavigationWithPDFViewer) { … }
TEST_F(ChromeExtensionNavigationTest, PrepareURLForNavigationOnDevtools) { … }
TEST_F(ChromeExtensionNavigationTest,
PrepareURLForNavigationOnChromeUntrusted) { … }
}