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

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

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 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
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 8ddd78806c54ac0b4adce2e495dafa308880af29..2dff205c724102193154202fe9cc47ec35972ac0 100644
--- a/chrome/renderer/extensions/chrome_v8_context.h
+++ b/chrome/renderer/extensions/chrome_v8_context.h
@@ -22,7 +22,6 @@ class RenderView;
namespace extensions {
class Extension;
-}
// Chrome's wrapper for a v8 context.
//
@@ -33,15 +32,15 @@ class ChromeV8Context {
public:
ChromeV8Context(v8::Handle<v8::Context> context,
WebKit::WebFrame* frame,
- const extensions::Extension* extension,
- extensions::Feature::Context context_type);
+ const Extension* extension,
+ Feature::Context context_type);
~ChromeV8Context();
v8::Handle<v8::Context> v8_context() const {
return v8_context_;
}
- const extensions::Extension* extension() const {
+ const Extension* extension() const {
return extension_.get();
}
@@ -52,7 +51,7 @@ class ChromeV8Context {
web_frame_ = NULL;
}
- extensions::Feature::Context context_type() const {
+ Feature::Context context_type() const {
return context_type_;
}
@@ -118,10 +117,10 @@ 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 extensions::Extension> extension_;
+ scoped_refptr<const Extension> extension_;
// The type of context.
- extensions::Feature::Context context_type_;
+ Feature::Context context_type_;
// Owns and structures the JS that is injected to set up extension bindings.
scoped_ptr<ModuleSystem> module_system_;
@@ -132,4 +131,6 @@ class ChromeV8Context {
DISALLOW_COPY_AND_ASSIGN(ChromeV8Context);
};
+} // namespace extensions
+
#endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_
« no previous file with comments | « chrome/renderer/extensions/app_window_custom_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