| Index: chrome/renderer/extensions/chrome_v8_context.h
|
| diff --git a/chrome/renderer/extensions/chrome_v8_context.h b/chrome/renderer/extensions/chrome_v8_context.h
|
| index 11a4a87bec87d9c990898974345e32d13542e02c..4e7b61c3229a0acd89d93553f31e25955b4e9349 100644
|
| --- a/chrome/renderer/extensions/chrome_v8_context.h
|
| +++ b/chrome/renderer/extensions/chrome_v8_context.h
|
| @@ -27,12 +27,15 @@ class RenderView;
|
| class ChromeV8Context {
|
| public:
|
| enum ContextType {
|
| + // Blessed contexts such as normal chrome-extension:// URLs (including those
|
| + // which are iframes holding web accessible resources).
|
| + BLESSED,
|
| +
|
| + // All content scripts.
|
| CONTENT_SCRIPT,
|
|
|
| - // TODO(kalman): for now, have this as OTHER, since we only currently need
|
| - // know whether something is a content script or not. However, when
|
| - // necessary this should enumerate the other types, such as FRAME.
|
| - OTHER
|
| + // Unprivileged contexts, such as normal webpages.
|
| + UNPRIVILEGED
|
| };
|
|
|
| ChromeV8Context(v8::Handle<v8::Context> context,
|
|
|