| Index: chrome/common/extensions/chrome_alias_provider.h
|
| diff --git a/chrome/common/extensions/chrome_alias_provider.h b/chrome/common/extensions/chrome_alias_provider.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e5c6a7416a72d0946b8a800fed81461da7d34a4d
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/chrome_alias_provider.h
|
| @@ -0,0 +1,30 @@
|
| +// 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 CHROME_COMMON_EXTENSIONS_CHROME_ALIAS_PROVIDER_H_
|
| +#define CHROME_COMMON_EXTENSIONS_CHROME_ALIAS_PROVIDER_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "base/macros.h"
|
| +#include "extensions/common/alias_provider.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class ChromeAliasProvider : public AliasProvider {
|
| + public:
|
| + ChromeAliasProvider();
|
| + ~ChromeAliasProvider() override = default;
|
| +
|
| + private:
|
| + // Returns all the known permission aliases.
|
| + std::vector<Alias> GetApiAliases() const override;
|
| + std::vector<Alias> GetPermissionAliases() const override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ChromeAliasProvider);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_COMMON_EXTENSIONS_CHROME_ALIAS_PROVIDER_H_
|
|
|