summaryrefslogtreecommitdiffstats
path: root/base/logging.cc
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-21 01:42:10 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-21 01:42:10 +0000
commitf12e596a27f6a1df1b4ccd52f9b1b8244bad42bb (patch)
tree01031d7a9dfe6d058ea30a2539f3d5c8f060a33f /base/logging.cc
parent0bea112fc6e383d156f9ba73479dadb485d714ce (diff)
downloadchromium_src-f12e596a27f6a1df1b4ccd52f9b1b8244bad42bb.zip
chromium_src-f12e596a27f6a1df1b4ccd52f9b1b8244bad42bb.tar.gz
chromium_src-f12e596a27f6a1df1b4ccd52f9b1b8244bad42bb.tar.bz2
Remving global statics from the headers, so we can split-link.
The issue is that the split linker has issues with data exports vs function exports currently only function exports are supported. NOTRY=true TBR=brettw,jam TEST=none BUG=237249 Review URL: https://chromiumcodereview.appspot.com/15403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r--base/logging.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 0c4a302..f5e4426 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;