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

Unified Diff: chrome/renderer/extensions/chrome_v8_context_set.h

Issue 17104003: Improvements to fatal JavaScript extension errors: (1) include the extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: channel restriction Created 7 years, 6 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 | « no previous file | chrome/renderer/extensions/chrome_v8_context_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f47a61fe74a555d34ee8f0148eae68dc34f7404e 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 corresponding to v8::Context::GetCurrent(), or
+ // NULL if no such context exists.
ChromeV8Context* GetCurrent() const;
+ // Gets the ChromeV8Context corresponding 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;
« no previous file with comments | « no previous file | chrome/renderer/extensions/chrome_v8_context_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698