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

Side by Side Diff: chrome/common/extensions/chrome_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 CHROME_COMMON_EXTENSIONS_CHROME_ALIAS_PROVIDER_H_
6 #define CHROME_COMMON_EXTENSIONS_CHROME_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 ChromeAliasProvider : public AliasProvider {
16 public:
17 ChromeAliasProvider();
18 ~ChromeAliasProvider() override = default;
19
20 private:
21 // Returns all the known permission aliases.
22 std::vector<Alias> GetApiAliases() const override;
23 std::vector<Alias> GetPermissionAliases() const override;
24
25 DISALLOW_COPY_AND_ASSIGN(ChromeAliasProvider);
26 };
27
28 } // namespace extensions
29
30 #endif // CHROME_COMMON_EXTENSIONS_CHROME_ALIAS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698