// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_FEATURE_CACHE_H_ #define EXTENSIONS_RENDERER_FEATURE_CACHE_H_ #include <map> #include <string> #include <utility> #include <vector> #include "base/memory/raw_ptr.h" #include "extensions/common/context_data.h" #include "extensions/common/extension_id.h" #include "extensions/common/features/feature.h" #include "extensions/common/mojom/context_type.mojom-forward.h" #include "url/gurl.h" namespace extensions { class Extension; // Caches features available to different extensions in different context types, // and returns features available to a given context. Note: currently, this is // only used for non-webpage contexts. // TODO(devlin): Use it for all context types? // Note: This could actually go in extensions/common/, if there was any need for // it browser-side. class FeatureCache { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_FEATURE_CACHE_H_