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

Unified Diff: chrome/browser/ui/panels/panel.cc

Issue 12096060: browser: Start moving application_lifetime.h functions into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/panels/panel.cc
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index f2b544a62586f4b7718c87b54858d89095f7c4b2..c63aac880c129efab4817f18e6ffee5302d1a363 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -157,7 +157,7 @@ Panel::Panel(const std::string& app_name,
Panel::~Panel() {
DCHECK(!collection_);
// Invoked by native panel destructor. Do not access native_panel_ here.
- browser::EndKeepAlive(); // Remove shutdown prevention.
+ chrome::EndKeepAlive(); // Remove shutdown prevention.
}
void Panel::Initialize(Profile* profile, const GURL& url,
@@ -191,7 +191,7 @@ void Panel::Initialize(Profile* profile, const GURL& url,
ThemeServiceFactory::GetForProfile(profile)));
// Prevent the browser process from shutting down while this window is open.
- browser::StartKeepAlive();
+ chrome::StartKeepAlive();
UpdateAppIcon();
}
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/views/app_list/app_list_controller_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698