Index: content/browser/devtools/devtools_manager_impl.cc |
diff --git a/content/browser/devtools/devtools_manager_impl.cc b/content/browser/devtools/devtools_manager_impl.cc |
deleted file mode 100644 |
index 4f40e80bae7d728f88a026ecc25e146e16200fd2..0000000000000000000000000000000000000000 |
--- a/content/browser/devtools/devtools_manager_impl.cc |
+++ /dev/null |
@@ -1,51 +0,0 @@ |
-// Copyright (c) 2012 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 "content/browser/devtools/devtools_manager_impl.h" |
- |
-#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
-#include "content/browser/devtools/devtools_netlog_observer.h" |
-#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/content_browser_client.h" |
-#include "content/public/browser/devtools_agent_host.h" |
-#include "content/public/browser/devtools_manager_delegate.h" |
- |
-namespace content { |
- |
-// static |
-DevToolsManagerImpl* DevToolsManagerImpl::GetInstance() { |
- return Singleton<DevToolsManagerImpl>::get(); |
-} |
- |
-DevToolsManagerImpl::DevToolsManagerImpl() |
- : delegate_(GetContentClient()->browser()->GetDevToolsManagerDelegate()), |
- client_count_(0) { |
-} |
- |
-DevToolsManagerImpl::~DevToolsManagerImpl() { |
- DCHECK(!client_count_); |
-} |
- |
-void DevToolsManagerImpl::OnClientAttached() { |
- if (!client_count_) { |
- BrowserThread::PostTask( |
- BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(&DevToolsNetLogObserver::Attach)); |
- } |
- client_count_++; |
-} |
- |
-void DevToolsManagerImpl::OnClientDetached() { |
- client_count_--; |
- if (!client_count_) { |
- BrowserThread::PostTask( |
- BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(&DevToolsNetLogObserver::Detach)); |
- } |
-} |
- |
-} // namespace content |