diff options
author | proberge <proberge@chromium.org> | 2015-10-21 14:04:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-21 21:05:22 +0000 |
commit | 83469713c2eac58b5ef66cf8831eefc0a33e4e66 (patch) | |
tree | d4aeaeb939db2daf7015885b901c6fc9c48dc0a1 /extensions | |
parent | a7d2d848e3522f279a87e576407a49472556f081 (diff) | |
download | chromium_src-83469713c2eac58b5ef66cf8831eefc0a33e4e66.zip chromium_src-83469713c2eac58b5ef66cf8831eefc0a33e4e66.tar.gz chromium_src-83469713c2eac58b5ef66cf8831eefc0a33e4e66.tar.bz2 |
When sending an incident report, also collect data regarding the last installed extension by an eligible profile.
BUG=
Review URL: https://codereview.chromium.org/1374563008
Cr-Commit-Position: refs/heads/master@{#355395}
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/common/extension.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index 215d99a..17925cb 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -339,6 +339,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { int creation_flags() const { return creation_flags_; } bool from_webstore() const { return (creation_flags_ & FROM_WEBSTORE) != 0; } bool from_bookmark() const { return (creation_flags_ & FROM_BOOKMARK) != 0; } + bool may_be_untrusted() const { + return (creation_flags_ & MAY_BE_UNTRUSTED) != 0; + } bool was_installed_by_default() const { return (creation_flags_ & WAS_INSTALLED_BY_DEFAULT) != 0; } |