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

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

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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.cc
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc
index aad24b1202bf2b71e9ab793075d66dc565a04502..4b44ed6c6bde69985de59b023f51361424afb5e8 100644
--- a/chrome/browser/lifetime/application_lifetime.cc
+++ b/chrome/browser/lifetime/application_lifetime.cc
@@ -51,6 +51,7 @@
namespace chrome {
namespace {
+#if !defined(OS_ANDROID)
// Returns true if all browsers can be closed without user interaction.
// This currently checks if there is pending download, or if it needs to
// handle unload handler.
@@ -71,6 +72,7 @@ bool AreAllBrowsersCloseable() {
}
return true;
}
+#endif
Nico 2013/11/10 05:07:09 // if !defined(OS_ANDROID)
hans 2013/11/11 19:29:51 Done.
int g_keep_alive_count = 0;

Powered by Google App Engine
This is Rietveld 408576698