2015-02-13 23:17:08 +00:00
|
|
|
// Copyright (c) 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.
|
|
|
|
|
2015-11-25 21:53:12 -05:00
|
|
|
#include "libcef/browser/net/url_request_context.h"
|
2015-02-13 23:17:08 +00:00
|
|
|
|
2016-09-01 14:24:30 +03:00
|
|
|
#if DCHECK_IS_ON()
|
2017-07-26 19:19:27 -04:00
|
|
|
base::AtomicRefCount CefURLRequestContext::DebugObjCt;
|
2015-02-13 23:17:08 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
CefURLRequestContext::CefURLRequestContext() {
|
2016-09-01 14:24:30 +03:00
|
|
|
#if DCHECK_IS_ON()
|
2017-07-26 19:19:27 -04:00
|
|
|
DebugObjCt.Increment();
|
2015-02-13 23:17:08 +00:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
CefURLRequestContext::~CefURLRequestContext() {
|
2016-09-01 14:24:30 +03:00
|
|
|
#if DCHECK_IS_ON()
|
2017-07-26 19:19:27 -04:00
|
|
|
DebugObjCt.Decrement();
|
2015-02-13 23:17:08 +00:00
|
|
|
#endif
|
|
|
|
}
|