chromium/chrome/renderer/extensions/chrome_resource_request_policy_delegate.cc

// Copyright 2024 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/renderer/extensions/chrome_resource_request_policy_delegate.h"

#include "chrome/common/extensions/chrome_manifest_url_handlers.h"
#include "chrome/common/url_constants.h"
#include "extensions/renderer/renderer_extension_registry.h"

namespace extensions {

ChromeResourceRequestPolicyDelegate::~ChromeResourceRequestPolicyDelegate() =
    default;

bool ChromeResourceRequestPolicyDelegate::
    ShouldAlwaysAllowRequestForFrameOrigin(const url::Origin& frame_origin) {}

bool ChromeResourceRequestPolicyDelegate::AllowLoadForDevToolsPage(
    const GURL& page_origin,
    const GURL& target_url) {}

}  // namespace extensions