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