Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Side by Side Diff: extensions/common/extensions_alias_provider.h

Issue 2379763003: Extract permission alias info from PermissionsProvider (Closed)
Patch Set: not nesting Alias in AliasProvider Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
5 #ifndef EXTENSIONS_COMMON_EXTENSIONS_ALIAS_PROVIDER_H_
6 #define EXTENSIONS_COMMON_EXTENSIONS_ALIAS_PROVIDER_H_
7
8 #include <vector>
9
10 #include "base/macros.h"
11 #include "extensions/common/alias_provider.h"
12
13 namespace extensions {
14
15 class ExtensionsAliasProvider : public AliasProvider {
16 public:
17 ExtensionsAliasProvider();
18 ~ExtensionsAliasProvider() override = default;
19
20 private:
21 std::vector<Alias> GetApiAliases() const override;
22 std::vector<Alias> GetPermissionAliases() const override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(ExtensionsAliasProvider);
26 };
27
28 } // namespace extensions
29
30 #endif // EXTENSIONS_COMMON_EXTENSIONS_ALIAS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698