summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authordominickn <dominickn@chromium.org>2015-08-24 23:13:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-25 06:14:15 +0000
commit0bdf6c73bb31435893ce0b7f16b4012c0ca6d388 (patch)
tree36b5bff879a3e7f81a3dc906c7837385cdf31969 /extensions/common/extension.h
parente7a756f7da7803c69234eb71123ab1615eb6dad8 (diff)
downloadchromium_src-0bdf6c73bb31435893ce0b7f16b4012c0ca6d388.zip
chromium_src-0bdf6c73bb31435893ce0b7f16b4012c0ca6d388.tar.gz
chromium_src-0bdf6c73bb31435893ce0b7f16b4012c0ca6d388.tar.bz2
Enable "add to..." for chrome-extension:// pages.
Chrome extensions cannot be pinned to taskbar/shelf/desktop when the new bookmark apps system is enabled. This CL fixes the bug. BUG=519033 Review URL: https://codereview.chromium.org/1308813004 Cr-Commit-Position: refs/heads/master@{#345270}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index c8d1690..c4934d8 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -204,6 +204,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Valid schemes for web extent URLPatterns.
static const int kValidWebExtentSchemes;
+ // Valid schemes for bookmark app installs.
+ static const int kValidBookmarkAppSchemes;
+
// Valid schemes for host permission URLPatterns.
static const int kValidHostPermissionSchemes;