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

Unified Diff: chrome/browser/ui/extensions/shell_window.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/extensions/shell_window.cc
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
index 0371ab79eab00a4c575f9a1573a186b45c39b464..e8bd2a7bb67c98d7eaf79135f0e48578dfe084eb 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -79,14 +79,14 @@ void ShellWindowController::SetFullscreenMode(bool is_fullscreen,
} // namespace internal
ShellWindow* ShellWindow::Create(Profile* profile,
- const Extension* extension,
+ const extensions::Extension* extension,
const GURL& url) {
// This object will delete itself when the window is closed.
return ShellWindow::CreateImpl(profile, extension, url);
}
ShellWindow::ShellWindow(Profile* profile,
- const Extension* extension,
+ const extensions::Extension* extension,
const GURL& url)
: profile_(profile),
extension_(extension),
@@ -159,8 +159,9 @@ void ShellWindow::Observe(int type,
const content::NotificationDetails& details) {
switch (type) {
case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
- const Extension* unloaded_extension =
- content::Details<UnloadedExtensionInfo>(details)->extension;
+ const extensions::Extension* unloaded_extension =
+ content::Details<extensions::UnloadedExtensionInfo>(
+ details)->extension;
if (extension_ == unloaded_extension)
Close();
break;

Powered by Google App Engine
This is Rietveld 408576698