mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 01:26:03 +01:00
1073577d03
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories. - Update existing CEF source code to be compliant with the style requirements. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
28 lines
670 B
C++
28 lines
670 B
C++
// 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.
|
|
|
|
#include "libcef/browser_devtools_callargs.h"
|
|
|
|
#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_;
|
|
DCHECK_GE(calls_count_, 0);
|
|
}
|