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

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 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index f001aa502d2c1d79a18df5e705dde83788f1ca6f..987af6c2271b886ff7cef3465471b2785fb1e1a5 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -226,6 +226,7 @@ using content::SiteInstance;
using content::SSLStatus;
using content::UserMetricsAction;
using content::WebContents;
+using extensions::Extension;
///////////////////////////////////////////////////////////////////////////////
@@ -4112,10 +4113,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();
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698