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

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

Issue 22875046: Don't serialize extension user script injection results unless the extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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_messages.h ('k') | 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 f47a61fe74a555d34ee8f0148eae68dc34f7404e..f170d2a54474c7138e9bdbe214a3a7cec71d4df3 100644
--- a/chrome/renderer/extensions/chrome_v8_context_set.h
+++ b/chrome/renderer/extensions/chrome_v8_context_set.h
@@ -22,6 +22,10 @@ namespace content {
class RenderView;
}
+namespace WebKit {
+class WebFrame;
+}
+
namespace v8 {
class Context;
}
@@ -63,6 +67,9 @@ class ChromeV8ContextSet {
// v8::Context or NULL if no such context exists.
ChromeV8Context* GetByV8Context(v8::Handle<v8::Context> context) const;
+ // Gets the ChromeV8Context corresponding to the given WebFrame.
+ ChromeV8Context* GetByWebFrame(WebKit::WebFrame* web_frame) const;
not at google - send to devlin 2013/08/23 01:19:13 Ok this method doesn't make any sense. There are m
+
// Synchronously runs |callback| with each ChromeV8Context that belongs to
// |extension_id| in |render_view|.
//
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/renderer/extensions/chrome_v8_context_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698