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

Unified Diff: chrome/browser/ui/browser.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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 89019ff75f3d59a3aa91eaf60ddb8e0c5124d132..a96a9a426fb44174545a2d8c4ee8fee936a02b9d 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -224,6 +224,7 @@ using content::SiteInstance;
using content::SSLStatus;
using content::UserMetricsAction;
using content::WebContents;
+using extensions::Extension;
///////////////////////////////////////////////////////////////////////////////
@@ -4162,10 +4163,11 @@ void Browser::Observe(int type,
// Close any tabs from the unloaded extension, unless it's terminated,
// in which case let the sad tabs remain.
- if (content::Details<UnloadedExtensionInfo>(details)->reason !=
- extension_misc::UNLOAD_REASON_TERMINATE) {
+ if (content::Details<extensions::UnloadedExtensionInfo>(
+ details)->reason != extension_misc::UNLOAD_REASON_TERMINATE) {
const Extension* extension =
- content::Details<UnloadedExtensionInfo>(details)->extension;
+ content::Details<extensions::UnloadedExtensionInfo>(
+ details)->extension;
for (int i = tab_strip_model_->count() - 1; i >= 0; --i) {
WebContents* tc =
tab_strip_model_->GetTabContentsAt(i)->web_contents();

Powered by Google App Engine
This is Rietveld 408576698