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()
|
2015-02-14 00:17:08 +01:00
|
|
|
base::AtomicRefCount CefURLRequestContext::DebugObjCt = 0;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
CefURLRequestContext::CefURLRequestContext() {
|
2016-09-01 13:24:30 +02:00
|
|
|
#if DCHECK_IS_ON()
|
2015-02-14 00:17:08 +01:00
|
|
|
base::AtomicRefCountInc(&DebugObjCt);
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
CefURLRequestContext::~CefURLRequestContext() {
|
2016-09-01 13:24:30 +02:00
|
|
|
#if DCHECK_IS_ON()
|
2015-02-14 00:17:08 +01:00
|
|
|
base::AtomicRefCountDec(&DebugObjCt);
|
|
|
|
#endif
|
|
|
|
}
|