2011-01-25 19:37:27 +01:00
|
|
|
// Copyright (c) 2010 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.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#include "libcef/browser_devtools_callargs.h"
|
2011-01-25 19:37:27 +01:00
|
|
|
|
|
|
|
#include "base/logging.h"
|
|
|
|
|
|
|
|
// static
|
|
|
|
int BrowserDevToolsCallArgs::calls_count_ = 0;
|
|
|
|
|
|
|
|
BrowserDevToolsCallArgs::BrowserDevToolsCallArgs(
|
|
|
|
const WebKit::WebString& data)
|
|
|
|
: data_(data) {
|
|
|
|
++calls_count_;
|
|
|
|
}
|
|
|
|
|
|
|
|
BrowserDevToolsCallArgs::BrowserDevToolsCallArgs(
|
|
|
|
const BrowserDevToolsCallArgs& args)
|
|
|
|
: data_(args.data_) {
|
|
|
|
++calls_count_;
|
|
|
|
}
|
|
|
|
|
|
|
|
BrowserDevToolsCallArgs::~BrowserDevToolsCallArgs() {
|
|
|
|
--calls_count_;
|
2012-01-10 00:46:23 +01:00
|
|
|
DCHECK_GE(calls_count_, 0);
|
2011-01-25 19:37:27 +01:00
|
|
|
}
|