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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/renderer/extensions/app_bindings.cc ('k') | chrome/renderer/extensions/chrome_v8_context.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.h
diff --git a/chrome/renderer/extensions/chrome_v8_context.h b/chrome/renderer/extensions/chrome_v8_context.h
index 479568805ebda9dd00a14dcb8aa9d38a50d3c8fc..8aec582d56d73874ac33d813ddafcf5639efc032 100644
--- a/chrome/renderer/extensions/chrome_v8_context.h
+++ b/chrome/renderer/extensions/chrome_v8_context.h
@@ -21,6 +21,10 @@ namespace content {
class RenderView;
}
+namespace extensions {
+class Extension;
+}
+
// Chrome's wrapper for a v8 context.
//
// TODO(aa): Consider converting this back to a set of bindings_utils. It would
@@ -30,7 +34,7 @@ class ChromeV8Context {
public:
ChromeV8Context(v8::Handle<v8::Context> context,
WebKit::WebFrame* frame,
- const Extension* extension,
+ const extensions::Extension* extension,
extensions::Feature::Context context_type);
~ChromeV8Context();
@@ -38,7 +42,7 @@ class ChromeV8Context {
return v8_context_;
}
- const Extension* extension() const {
+ const extensions::Extension* extension() const {
return extension_.get();
}
@@ -114,7 +118,7 @@ class ChromeV8Context {
// The extension associated with this context, or NULL if there is none. This
// might be a hosted app in the case that this context is hosting a web URL.
- scoped_refptr<const Extension> extension_;
+ scoped_refptr<const extensions::Extension> extension_;
// The type of context.
extensions::Feature::Context context_type_;
« no previous file with comments | « chrome/renderer/extensions/app_bindings.cc ('k') | chrome/renderer/extensions/chrome_v8_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698