| Index: chrome/common/extensions/feature.h
|
| diff --git a/chrome/common/extensions/feature.h b/chrome/common/extensions/feature.h
|
| index 61a96a59382724ce607509221d21d62bec997721..749f4b3dbae10ff72bdff88d504dbc7ffb923dd9 100644
|
| --- a/chrome/common/extensions/feature.h
|
| +++ b/chrome/common/extensions/feature.h
|
| @@ -22,11 +22,21 @@ namespace extensions {
|
| class Feature {
|
| public:
|
| // The JavaScript contexts the feature is supported in.
|
| + // TODO(kalman): s/PRIVILEGED/BLESSED_EXTENSION/
|
| enum Context {
|
| UNSPECIFIED_CONTEXT,
|
| - PRIVILEGED_CONTEXT, // A context in a privileged extension process.
|
| - UNPRIVILEGED_CONTEXT, // A context in a normal, unprivileged renderer.
|
| - CONTENT_SCRIPT_CONTEXT // A context from a content script.
|
| +
|
| + // A context in a privileged extension process.
|
| + PRIVILEGED_CONTEXT,
|
| +
|
| + // A context in a normal, unprivileged renderer.
|
| + UNPRIVILEGED_CONTEXT,
|
| +
|
| + // A context from a content script.
|
| + CONTENT_SCRIPT_CONTEXT,
|
| +
|
| + // A normal web page. This should have an associated URL matching pattern.
|
| + WEB_PAGE_CONTEXT,
|
| };
|
|
|
| // The location required of extensions the feature is supported in.
|
|
|