blob: a9ebdf6eabcdf33ca6f742173e3d68ef263968f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_INITIALIZE_EXTENSIONS_CLIENT_H_
#define CHROME_COMMON_INITIALIZE_EXTENSIONS_CLIENT_H_
#include "base/containers/span.h"
#include "extensions/buildflags/buildflags.h"
#include "extensions/common/features/feature.h"
#if !BUILDFLAG(ENABLE_EXTENSIONS)
#error "Extensions must be enabled"
#endif
#include "extensions/common/features/feature.h"
base::span<const char* const> GetControlledFrameFeatureList();
// Initializes the single instance of the ExtensionsClient. Safe to call
// multiple times.
void EnsureExtensionsClientInitialized(
extensions::Feature::FeatureDelegatedAvailabilityCheckMap);
void EnsureExtensionsClientInitialized();
#endif // CHROME_COMMON_INITIALIZE_EXTENSIONS_CLIENT_H_
|