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

Unified Diff: chrome/browser/browser_shutdown.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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_shutdown.cc
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index 88d5ce1ba20295bbb5520ad3d13e88a94fed3bc9..f8398b137aa95f986556dc51ec86f2ea6827577a 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -252,14 +252,13 @@ void ShutdownPostThreadsStop(bool restart_last_session) {
}
#if defined(OS_CHROMEOS)
- browser::NotifyAndTerminate(false);
+ chrome::NotifyAndTerminate(false);
#endif
}
-void ReadLastShutdownFile(
- ShutdownType type,
- int num_procs,
- int num_procs_slow) {
+void ReadLastShutdownFile(ShutdownType type,
+ int num_procs,
+ int num_procs_slow) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
FilePath shutdown_ms_file = GetShutdownMsPath();
@@ -272,8 +271,8 @@ void ReadLastShutdownFile(
if (type == NOT_VALID || shutdown_ms == 0 || num_procs == 0)
return;
- const char *time_fmt = "Shutdown.%s.time";
- const char *time_per_fmt = "Shutdown.%s.time_per_process";
+ const char* time_fmt = "Shutdown.%s.time";
+ const char* time_per_fmt = "Shutdown.%s.time_per_process";
std::string time;
std::string time_per;
if (type == WINDOW_CLOSE) {
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698