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

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

Issue 1684043002: Fix build failure of chrome_public_apk on Android GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/lifetime/application_lifetime.h
diff --git a/chrome/browser/lifetime/application_lifetime.h b/chrome/browser/lifetime/application_lifetime.h
index 5d0989b8702ab57a8d1d6556327f7d051ff2a000..a5d196cb212416c4de35527c7849357db6431044 100644
--- a/chrome/browser/lifetime/application_lifetime.h
+++ b/chrome/browser/lifetime/application_lifetime.h
@@ -46,6 +46,7 @@ void AttemptExit();
void ExitCleanly();
#endif
+#if !defined(OS_ANDROID)
// Closes all browsers and if successful, quits.
void CloseAllBrowsersAndQuit();
@@ -72,6 +73,7 @@ void DecrementKeepAliveCount();
// Returns true if application will continue running after the last Browser
// closes.
bool WillKeepAlive();
+#endif
// Emits APP_TERMINATING notification. It is guaranteed that the
// notification is sent only once.
@@ -81,6 +83,7 @@ void NotifyAppTerminating();
// For ChromeOS, also request session manager to end the session.
void NotifyAndTerminate(bool fast_path);
+#if !defined(OS_ANDROID)
// Called once the application is exiting.
void OnAppExiting();
@@ -90,6 +93,7 @@ void HandleAppExitingForPlatform();
// Disable browser shutdown for unit tests.
void DisableShutdownForTesting(bool disable_shutdown_for_testing);
+#endif
} // namespace chrome
« 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