| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |  | 
| 2 // Use of this source code is governed by a BSD-style license that can be |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 #include "webkit/tools/test_shell/test_shell_devtools_callargs.h" |  | 
| 6 |  | 
| 7 #include "base/logging.h" |  | 
| 8 |  | 
| 9 // static |  | 
| 10 int TestShellDevToolsCallArgs::calls_count_ = 0; |  | 
| 11 |  | 
| 12 TestShellDevToolsCallArgs::TestShellDevToolsCallArgs( |  | 
| 13     const WebKit::WebString& data) |  | 
| 14     : data_(data) { |  | 
| 15   ++calls_count_; |  | 
| 16 } |  | 
| 17 |  | 
| 18 TestShellDevToolsCallArgs::TestShellDevToolsCallArgs( |  | 
| 19     const TestShellDevToolsCallArgs& args) |  | 
| 20     : data_(args.data_) { |  | 
| 21   ++calls_count_; |  | 
| 22 } |  | 
| 23 |  | 
| 24 TestShellDevToolsCallArgs::~TestShellDevToolsCallArgs() { |  | 
| 25   --calls_count_; |  | 
| 26   DCHECK(calls_count_ >= 0); |  | 
| 27 } |  | 
| OLD | NEW | 
|---|