extension_id.h 627 B

1234567891011121314151617181920212223
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef EXTENSIONS_COMMON_EXTENSION_ID_H_
  5. #define EXTENSIONS_COMMON_EXTENSION_ID_H_
  6. #include <set>
  7. #include <string>
  8. #include <vector>
  9. namespace extensions {
  10. // If valid, uniquely identifies an Extension using 32 characters from the
  11. // alphabet 'a'-'p'.
  12. using ExtensionId = std::string;
  13. using ExtensionIdList = std::vector<ExtensionId>;
  14. using ExtensionIdSet = std::set<ExtensionId>;
  15. } // namespace extensions
  16. #endif // EXTENSIONS_COMMON_EXTENSION_ID_H_