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

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

Issue 1885933002: Ensure that DLOG(FATAL) also asserts in release-with-asserts builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment with installer fix Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_KEEP_ALIVE_TYPES_H_ 5 #ifndef CHROME_BROWSER_LIFETIME_KEEP_ALIVE_TYPES_H_
6 #define CHROME_BROWSER_LIFETIME_KEEP_ALIVE_TYPES_H_ 6 #define CHROME_BROWSER_LIFETIME_KEEP_ALIVE_TYPES_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 9
10 // Types here are used to register KeepAlives. 10 // Types here are used to register KeepAlives.
(...skipping 25 matching lines...) Expand all
36 PANEL, 36 PANEL,
37 PANEL_VIEW, 37 PANEL_VIEW,
38 PROFILE_LOADER, 38 PROFILE_LOADER,
39 USER_MANAGER_VIEW 39 USER_MANAGER_VIEW
40 }; 40 };
41 41
42 // Restart: Allow Chrome to restart when all the registered KeepAlives allow 42 // Restart: Allow Chrome to restart when all the registered KeepAlives allow
43 // restarts 43 // restarts
44 enum class KeepAliveRestartOption { DISABLED, ENABLED }; 44 enum class KeepAliveRestartOption { DISABLED, ENABLED };
45 45
46 #ifndef NDEBUG 46 #if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
47 std::ostream& operator<<(std::ostream& out, const KeepAliveOrigin& origin); 47 std::ostream& operator<<(std::ostream& out, const KeepAliveOrigin& origin);
48 std::ostream& operator<<(std::ostream& out, 48 std::ostream& operator<<(std::ostream& out,
49 const KeepAliveRestartOption& restart); 49 const KeepAliveRestartOption& restart);
50 #endif // ndef NDEBUG 50 #endif
51 51
52 #endif // CHROME_BROWSER_LIFETIME_KEEP_ALIVE_TYPES_H_ 52 #endif // CHROME_BROWSER_LIFETIME_KEEP_ALIVE_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/lifetime/keep_alive_registry.cc ('k') | chrome/browser/lifetime/keep_alive_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698