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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_view.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 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/ui/views/location_bar/page_action_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.cc b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
index 5877e023ca1a9bd54d687c0208bcfa7b3b4dc945..ca545b51cb278a1d186a53f5497db8795a93fa76 100644
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
@@ -29,6 +29,7 @@
#include "ui/views/controls/menu/menu_runner.h"
using content::WebContents;
+using extensions::Extension;
PageActionImageView::PageActionImageView(LocationBarView* owner,
ExtensionAction* page_action,
@@ -272,7 +273,7 @@ void PageActionImageView::Observe(int type,
const content::NotificationDetails& details) {
DCHECK_EQ(chrome::NOTIFICATION_EXTENSION_UNLOADED, type);
const Extension* unloaded_extension =
- content::Details<UnloadedExtensionInfo>(details)->extension;
+ content::Details<extensions::UnloadedExtensionInfo>(details)->extension;
if (page_action_ == unloaded_extension ->page_action())
owner_->UpdatePageActions();
}

Powered by Google App Engine
This is Rietveld 408576698