summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/extension_id.h
blob: 8ab0adbaadb7350659ec49bf0b3d0fce85817fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef EXTENSIONS_COMMON_EXTENSION_ID_H_
#define EXTENSIONS_COMMON_EXTENSION_ID_H_

#include <set>
#include <string>
#include <vector>

namespace extensions {

// If valid, uniquely identifies an Extension using 32 characters from the
// alphabet 'a'-'p'.
using ExtensionId = std::string;

using ExtensionIdList = std::vector<ExtensionId>;
using ExtensionIdSet = std::set<ExtensionId>;

}  // namespace extensions

#endif  // EXTENSIONS_COMMON_EXTENSION_ID_H_