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

Side by Side Diff: chrome/browser/lifetime/application_lifetime.h

Issue 1086733002: Ensure tests have an active task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 5 #ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
6 #define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 6 #define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void OnAppExiting(); 109 void OnAppExiting();
110 110
111 // Called once the application is exiting to do any platform specific 111 // Called once the application is exiting to do any platform specific
112 // processing required. 112 // processing required.
113 void HandleAppExitingForPlatform(); 113 void HandleAppExitingForPlatform();
114 114
115 // Returns true if we can start the shutdown sequence for the browser, i.e. the 115 // Returns true if we can start the shutdown sequence for the browser, i.e. the
116 // last browser window is being closed. 116 // last browser window is being closed.
117 bool ShouldStartShutdown(Browser* browser); 117 bool ShouldStartShutdown(Browser* browser);
118 118
119 // Disable browser shutdown for unit tests.
120 void DisableShutdownForTesting(bool disable_shutdown_for_testing);
121
119 } // namespace chrome 122 } // namespace chrome
120 123
121 #endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 124 #endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
OLDNEW
« no previous file with comments | « chrome/browser/font_family_cache_unittest.cc ('k') | chrome/browser/lifetime/application_lifetime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698