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

Unified Diff: chrome/browser/lifetime/application_lifetime.h

Issue 11434013: In Chrome ASH on Windows 8 make sure that the browser object is closed before destroying it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/lifetime/application_lifetime.h
===================================================================
--- chrome/browser/lifetime/application_lifetime.h (revision 169752)
+++ chrome/browser/lifetime/application_lifetime.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
#define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
+#include "chrome/browser/ui/host_desktop.h"
+
namespace browser {
// Starts a user initiated exit process. Called from Browser::Exit.
@@ -51,6 +53,9 @@
// message.
void CloseAllBrowsers();
+// Closes all browsers of the type (Desktop/Ash) passed in.
+void CloseAllBrowsersOfType(chrome::HostDesktopType type);
+
// Begins shutdown of the application when the desktop session is ending.
void SessionEnding();
« no previous file with comments | « no previous file | chrome/browser/lifetime/application_lifetime.cc » ('j') | chrome/browser/lifetime/application_lifetime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698