Index: base/logging.cc |
diff --git a/base/logging.cc b/base/logging.cc |
index 0c4a3027340abf8777e7ad56218e02a3241b021d..f5e44261a81120a98acb0f9c014a9bfe90dc94a7 100644 |
--- a/base/logging.cc |
+++ b/base/logging.cc |
@@ -67,6 +67,14 @@ namespace logging { |
DcheckState g_dcheck_state = DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS; |
+DcheckState get_dcheck_state() { |
+ return g_dcheck_state; |
+} |
+ |
+void set_dcheck_state(DcheckState state) { |
+ g_dcheck_state = state; |
+} |
+ |
namespace { |
VlogInfo* g_vlog_info = NULL; |