Index: chrome/browser/lifetime/application_lifetime.cc |
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc |
index cdcbe41e19fb8adfe4a8350f6995920cf08036c3..657c71bcc8fe3baa98d4f89488deb70dff6b106e 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -308,6 +308,10 @@ void DecrementKeepAliveCount() { |
} |
} |
+int GetKeepAliveCountForTesting() { |
+ return g_keep_alive_count; |
+} |
+ |
bool WillKeepAlive() { |
return g_keep_alive_count > 0; |
} |