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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.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_infobar_delegate.h
diff --git a/chrome/browser/extensions/extension_infobar_delegate.h b/chrome/browser/extensions/extension_infobar_delegate.h
index 0e230e130739f402cd863fc01fc9a60f88640b0c..a8205bd8c234e09b1878aa580a1eeb2c55a5ef3a 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.h
+++ b/chrome/browser/extensions/extension_infobar_delegate.h
@@ -12,10 +12,13 @@
#include "content/public/browser/notification_registrar.h"
class Browser;
-class Extension;
class ExtensionHost;
class GURL;
+namespace extensions {
+class Extension;
+}
+
// The InfobarDelegate for creating and managing state for the ExtensionInfobar
// plus monitor when the extension goes away.
class ExtensionInfoBarDelegate : public InfoBarDelegate,
@@ -32,11 +35,11 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate,
ExtensionInfoBarDelegate(Browser* browser,
InfoBarTabHelper* infobar_helper,
- const Extension* extension,
+ const extensions::Extension* extension,
const GURL& url,
int height);
- const Extension* extension() { return extension_; }
+ const extensions::Extension* extension() { return extension_; }
ExtensionHost* extension_host() { return extension_host_.get(); }
int height() { return height_; }
@@ -70,7 +73,7 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate,
// The observer monitoring when the delegate dies.
DelegateObserver* observer_;
- const Extension* extension_;
+ const extensions::Extension* extension_;
content::NotificationRegistrar registrar_;
// The requested height of the infobar (in pixels).
« no previous file with comments | « chrome/browser/extensions/extension_info_map_unittest.cc ('k') | chrome/browser/extensions/extension_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698