// Copyright 2014 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_COMMON_MANIFEST_HANDLERS_PERMISSIONS_PARSER_H_ #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_PERMISSIONS_PARSER_H_ #include <memory> #include <string> #include "extensions/common/mojom/api_permission_id.mojom-shared.h" #include "extensions/common/permissions/api_permission.h" #include "extensions/common/permissions/permission_set.h" namespace extensions { class Extension; class URLPatternSet; // The class for parsing the kPermissions and kOptionalPermissions keys in the // manifest. Because permissions are slightly different than other keys (they // are used in many different handlers and need to be the first and last key // touched), this is not an actual ManifestHandler (hence the difference in // name). class PermissionsParser { … }; } // namespace extensions #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_PERMISSIONS_PARSER_H_