// Copyright 2019 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_EXTENSIONS_MANIFEST_HANDLERS_NATIVELY_CONNECTABLE_HANDLER_H_ #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NATIVELY_CONNECTABLE_HANDLER_H_ #include <set> #include <string> #include "base/containers/span.h" #include "extensions/common/extension.h" #include "extensions/common/manifest_handler.h" namespace extensions { // A structure to hold the parsed list of native messaging hosts that can // connect to this extension. struct NativelyConnectableHosts : public Extension::ManifestData { … }; // Parses the "natively_connectable" manifest key. class NativelyConnectableHandler : public ManifestHandler { … }; } // namespace extensions #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NATIVELY_CONNECTABLE_HANDLER_H_