#include "third_party/blink/renderer/core/loader/mixed_content_checker.h"
#include <memory>
#include "base/memory/scoped_refptr.h"
#include "build/build_config.h"
#include "build/chromecast_buildflags.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h"
#include "third_party/blink/public/mojom/loader/mixed_content.mojom-blink.h"
#include "third_party/blink/public/mojom/loader/request_context_frame_type.mojom-blink.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/loader/empty_clients.h"
#include "third_party/blink/renderer/core/loader/mock_content_security_notifier.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_client_settings_object.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
#include "third_party/blink/renderer/platform/loader/mixed_content.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
namespace blink {
TEST(MixedContentCheckerTest, IsMixedContent) { … }
TEST(MixedContentCheckerTest, ContextTypeForInspector) { … }
TEST(MixedContentCheckerTest, HandleCertificateError) { … }
TEST(MixedContentCheckerTest, DetectMixedForm) { … }
TEST(MixedContentCheckerTest, DetectMixedFavicon) { … }
TEST(MixedContentCheckerTest, DetectUpgradeableMixedContent) { … }
class TestFetchClientSettingsObject : public FetchClientSettingsObject { … };
TEST(MixedContentCheckerTest,
NotAutoupgradedMixedContentHasUpgradeIfInsecureSet) { … }
TEST(MixedContentCheckerTest, AutoupgradedMixedContentHasUpgradeIfInsecureSet) { … }
TEST(MixedContentCheckerTest,
AutoupgradeMixedContentWithLiteralLocalIpAddress) { … }
TEST(MixedContentCheckerTest,
NotAutoupgradeMixedContentWithLiteralNonLocalIpAddress) { … }
}