// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ #define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_ #include <optional> #include <string> #include <string_view> #include <vector> #include "content/common/content_export.h" #include "url/gurl.h" #include "url/origin.h" namespace base { class FilePath; } namespace content { class BrowserContext; // The ChildProcessSecurityPolicy class is used to grant and revoke security // capabilities for child processes. For example, it restricts whether a child // process is permitted to load file:// URLs based on whether the process // has ever been commanded to load file:// URLs by the browser. // // ChildProcessSecurityPolicy is a singleton that may be used on any thread. // class ChildProcessSecurityPolicy { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_SECURITY_POLICY_H_