Chromium Code Reviews| 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). |
|
Aaron Boodman
2012/02/27 23:32:31
The parenthetical here is not correct... there is
not at google - send to devlin
2012/02/28 05:00:04
Done.
|
| + BLESSED, |
|
Aaron Boodman
2012/02/27 23:32:31
I know you aren't crazy about privileged/unprivile
not at google - send to devlin
2012/02/28 05:00:04
Ok, reverted, and I'll do an audit when I have tim
|
| + |
| + // 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, |