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

Unified Diff: chrome/browser/extensions/extension_menu_manager.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
Index: chrome/browser/extensions/extension_menu_manager.h
diff --git a/chrome/browser/extensions/extension_menu_manager.h b/chrome/browser/extensions/extension_menu_manager.h
index 30a8b351e1c7b5c777e299b0c31ff105aad24594..1235bdb3a5f10de4fca43a471495cf073e3a0191 100644
--- a/chrome/browser/extensions/extension_menu_manager.h
+++ b/chrome/browser/extensions/extension_menu_manager.h
@@ -22,7 +22,6 @@
#include "content/public/browser/notification_registrar.h"
-class Extension;
class Profile;
class SkBitmap;
@@ -31,6 +30,10 @@ class WebContents;
struct ContextMenuParams;
}
+namespace extensions {
+class Extension;
+}
+
// Represents a menu item added by an extension.
class ExtensionMenuItem {
public:
@@ -224,7 +227,8 @@ class ExtensionMenuManager : public content::NotificationObserver {
// Adds a top-level menu item for an extension, requiring the |extension|
// pointer so it can load the icon for the extension. Takes ownership of
// |item|. Returns a boolean indicating success or failure.
- bool AddContextItem(const Extension* extension, ExtensionMenuItem* item);
+ bool AddContextItem(const extensions::Extension* extension,
+ ExtensionMenuItem* item);
// Add an item as a child of another item which has been previously added, and
// takes ownership of |item|. Returns a boolean indicating success or failure.
« no previous file with comments | « chrome/browser/extensions/extension_management_browsertest.cc ('k') | chrome/browser/extensions/extension_menu_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698