| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
| 7 #include "base/time.h" | 7 #include "base/time/time.h" |
| 8 #include "content/browser/devtools/devtools_manager_impl.h" | 8 #include "content/browser/devtools/devtools_manager_impl.h" |
| 9 #include "content/browser/devtools/render_view_devtools_agent_host.h" | 9 #include "content/browser/devtools/render_view_devtools_agent_host.h" |
| 10 #include "content/browser/renderer_host/test_render_view_host.h" | 10 #include "content/browser/renderer_host/test_render_view_host.h" |
| 11 #include "content/common/view_messages.h" | 11 #include "content/common/view_messages.h" |
| 12 #include "content/public/browser/content_browser_client.h" | 12 #include "content/public/browser/content_browser_client.h" |
| 13 #include "content/public/browser/devtools_agent_host.h" | 13 #include "content/public/browser/devtools_agent_host.h" |
| 14 #include "content/public/browser/devtools_client_host.h" | 14 #include "content/public/browser/devtools_client_host.h" |
| 15 #include "content/public/browser/devtools_external_agent_proxy.h" | 15 #include "content/public/browser/devtools_external_agent_proxy.h" |
| 16 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" | 16 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" |
| 17 #include "content/public/browser/web_contents_delegate.h" | 17 #include "content/public/browser/web_contents_delegate.h" |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 manager->RegisterDevToolsClientHostFor(agent_host.get(), &client_host); | 281 manager->RegisterDevToolsClientHostFor(agent_host.get(), &client_host); |
| 282 | 282 |
| 283 manager->DispatchOnInspectorBackend(&client_host, "message1"); | 283 manager->DispatchOnInspectorBackend(&client_host, "message1"); |
| 284 manager->DispatchOnInspectorBackend(&client_host, "message2"); | 284 manager->DispatchOnInspectorBackend(&client_host, "message2"); |
| 285 manager->DispatchOnInspectorBackend(&client_host, "message2"); | 285 manager->DispatchOnInspectorBackend(&client_host, "message2"); |
| 286 | 286 |
| 287 client_host.Close(manager); | 287 client_host.Close(manager); |
| 288 } | 288 } |
| 289 | 289 |
| 290 } // namespace content | 290 } // namespace content |
| OLD | NEW |