Chromium Code Reviews| Index: chrome/renderer/extensions/chrome_v8_context_set.h |
| diff --git a/chrome/renderer/extensions/chrome_v8_context_set.h b/chrome/renderer/extensions/chrome_v8_context_set.h |
| index 4781fb124df666b71f061159d22d90d7c3659aaf..510f67da1ec0f35db9626e3d7fa631885e0b3502 100644 |
| --- a/chrome/renderer/extensions/chrome_v8_context_set.h |
| +++ b/chrome/renderer/extensions/chrome_v8_context_set.h |
| @@ -51,10 +51,14 @@ class ChromeV8ContextSet { |
| typedef std::set<ChromeV8Context*> ContextSet; |
| ContextSet GetAll() const; |
| - // Gets the ChromeV8Context corresponding to the v8::Context that is |
| - // on the top of the stack, or NULL if no such context exists. |
| + // Gets the ChromeV8Context correponding to v8::Context::GetCurrent(), or |
|
Jeffrey Yasskin
2013/06/14 21:42:59
sp: correponding
not at google - send to devlin
2013/06/14 22:00:32
Done.
|
| + // NULL if no such context exists. |
| ChromeV8Context* GetCurrent() const; |
| + // Gets the ChromeV8Context correponding to v8::Context::GetCalling(), or |
| + // NULL if no such context exists. |
| + ChromeV8Context* GetCalling() const; |
| + |
| // Gets the ChromeV8Context corresponding to the specified |
| // v8::Context or NULL if no such context exists. |
| ChromeV8Context* GetByV8Context(v8::Handle<v8::Context> context) const; |