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

Unified Diff: chrome/common/extensions/feature.h

Issue 9653022: Revert 125811 - Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « chrome/common/extensions/extension_permission_set.cc ('k') | chrome/common/extensions/feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/feature.h
===================================================================
--- chrome/common/extensions/feature.h (revision 125812)
+++ chrome/common/extensions/feature.h (working copy)
@@ -22,21 +22,11 @@
class Feature {
public:
// The JavaScript contexts the feature is supported in.
- // TODO(kalman): s/PRIVILEGED/BLESSED_EXTENSION/
enum Context {
UNSPECIFIED_CONTEXT,
-
- // 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,
+ 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.
};
// The location required of extensions the feature is supported in.
« no previous file with comments | « chrome/common/extensions/extension_permission_set.cc ('k') | chrome/common/extensions/feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698