| // Copyright (c) 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef NET_BASE_FEATURES_H_ |
| #define NET_BASE_FEATURES_H_ |
| |
| #include "base/feature_list.h" |
| #include "net/base/net_export.h" |
| |
| namespace net { |
| namespace features { |
| |
| // Uses a site isolated code cache that is keyed on the resource url and the |
| // origin lock of the renderer that is requesting the resource. The requests |
| // to site-isolated code cache are handled by the content/GeneratedCodeCache |
| // When this flag is enabled, the metadata field of the HttpCache is unused. |
| NET_EXPORT extern const base::Feature kIsolatedCodeCache; |
| |
| } // namespace features |
| } // namespace net |
| |
| #endif // NET_BASE_FEATURES_H_ |