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

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

Issue 1382563002: Split the desktop portion of application_lifetime.cc into its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/lifetime/application_lifetime_desktop.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/lifetime/application_lifetime_internal.h
diff --git a/chrome/browser/lifetime/application_lifetime_internal.h b/chrome/browser/lifetime/application_lifetime_internal.h
new file mode 100644
index 0000000000000000000000000000000000000000..1322e28a39b7497f3bc60e7d190bf384aa22904e
--- /dev/null
+++ b/chrome/browser/lifetime/application_lifetime_internal.h
@@ -0,0 +1,31 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_INTERNAL_H_
+#define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_INTERNAL_H_
+
+#include "base/basictypes.h"
+
+// Various helper functions shared between application_lifetime* files.
+
+namespace chrome {
+
+namespace internal {
+
+void AttemptExitInternal(bool try_to_quit_application);
+
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+#if defined(OS_CHROMEOS)
+void NotifyAndTerminateInternalCrOS();
+#else
+void AttemptExitInternalDesktop();
+#endif
+#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
+
+} // namespace internal
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_INTERNAL_H_
+
« no previous file with comments | « chrome/browser/lifetime/application_lifetime_desktop.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698