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

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 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/extensions/shell_window.h ('k') | chrome/browser/ui/fullscreen_exit_bubble_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ff7881de4aac72bb417aeeb8e0a6cf8354d9c246..701e97cb557041b8f1161ba30a8407ee62d34b9e 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -84,14 +84,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),
@@ -180,8 +180,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;
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.h ('k') | chrome/browser/ui/fullscreen_exit_bubble_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698