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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/extensions_aliases.h ('k') | extensions/common/permissions/extensions_api_permissions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extensions_aliases.cc
diff --git a/extensions/common/extensions_aliases.cc b/extensions/common/extensions_aliases.cc
new file mode 100644
index 0000000000000000000000000000000000000000..38797e51f6ea403f54e7ef13ad61357bcd4fc307
--- /dev/null
+++ b/extensions/common/extensions_aliases.cc
@@ -0,0 +1,20 @@
+// 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.
+
+#include "extensions/common/extensions_aliases.h"
+
+namespace extensions {
+
+std::vector<Alias> GetExtensionsPermissionAliases() {
+ return {
+ Alias("alwaysOnTopWindows" /* alias */,
Devlin 2016/10/07 21:05:59 nit (from other comment) please do just add // Fir
tbarzic 2016/10/07 21:29:32 Done.
+ "app.window.alwaysOnTop" /* real name */),
+ Alias("fullscreen" /* alias */, "app.window.fullscreen" /* real name */),
+ Alias("overrideEscFullscreen" /* alias */,
+ "app.window.fullscreen.overrideEsc" /* real name */),
+ Alias("unlimited_storage" /* alias */,
+ "unlimitedStorage" /* real name */)};
+}
+
+} // namespace extensions
« 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