// 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_COMMON_HASHED_EXTENSION_ID_H_ #define EXTENSIONS_COMMON_HASHED_EXTENSION_ID_H_ #include <string> #include "extensions/common/extension_id.h" namespace extensions { // A wrapper around a hex-encoded SHA1 hash of an extension ID. This struct is // primarily to enforce type-safety, but also offers handy construction. The // hashed ID of an extension is used to determine feature availability. class HashedExtensionId { … }; } // namespace extensions #endif // EXTENSIONS_COMMON_HASHED_EXTENSION_ID_H_