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

Side by Side Diff: extensions/common/extensions_aliases.cc

Issue 2379763003: Extract permission alias info from PermissionsProvider (Closed)
Patch Set: . 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 #include "extensions/common/extensions_aliases.h"
6
7 namespace extensions {
8
9 std::vector<Alias> GetExtensionsPermissionAliases() {
10 // In alias constructor, first value is the alias name; second value is the
11 // real name. See also alias.h.
12 return {Alias("alwaysOnTopWindows", "app.window.alwaysOnTop"),
13 Alias("fullscreen", "app.window.fullscreen"),
14 Alias("overrideEscFullscreen", "app.window.fullscreen.overrideEsc"),
15 Alias("unlimited_storage", "unlimitedStorage")};
16 }
17
18 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extensions_aliases.h ('k') | extensions/common/permissions/extensions_api_permissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698