summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.cc
diff options
context:
space:
mode:
authorrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 07:58:08 +0000
committerrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 07:59:34 +0000
commit2b6a58021dd8babb97b400afd724f87c4d785e0a (patch)
tree0c0319d97a24b988679b9e818c2ffbf6db0f1396 /extensions/common/extension.cc
parentc4844325d770084cf1ad2632f934dec2e5dda97f (diff)
downloadchromium_src-2b6a58021dd8babb97b400afd724f87c4d785e0a.zip
chromium_src-2b6a58021dd8babb97b400afd724f87c4d785e0a.tar.gz
chromium_src-2b6a58021dd8babb97b400afd724f87c4d785e0a.tar.bz2
Track Windows registry-sideloaded extensions.
This adds a creation flag for extensions which tracks if they were installed from a potentially untrusted source. The flag is currently set for extensions which are installed via the Windows registry from a CRX on the local filesystem. No enforcement action is being taken yet and no additional metrics are being collected. BUG=325469 Review URL: https://codereview.chromium.org/479513004 Cr-Commit-Position: refs/heads/master@{#290122} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.cc')
-rw-r--r--extensions/common/extension.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index eb912e9..c9562af 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -67,7 +67,7 @@ bool ContainsReservedCharacters(const base::FilePath& path) {
} // namespace
-const int Extension::kInitFromValueFlagBits = 12;
+const int Extension::kInitFromValueFlagBits = 13;
const char Extension::kMimeType[] = "application/x-chrome-extension";