| 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/time.h" | 7 #include "base/time/time.h" |
| 8 #include "content/browser/devtools/devtools_manager.h" | 8 #include "content/browser/devtools/devtools_manager.h" |
| 9 #include "content/browser/devtools/render_view_devtools_agent_host.h" | |
| 10 #include "content/browser/devtools/shared_worker_devtools_manager.h" | 9 #include "content/browser/devtools/shared_worker_devtools_manager.h" |
| 11 #include "content/browser/shared_worker/shared_worker_instance.h" | 10 #include "content/browser/shared_worker/shared_worker_instance.h" |
| 12 #include "content/browser/shared_worker/worker_storage_partition.h" | 11 #include "content/browser/shared_worker/worker_storage_partition.h" |
| 13 #include "content/common/view_messages.h" | 12 #include "content/common/view_messages.h" |
| 14 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 15 #include "content/public/browser/content_browser_client.h" | 14 #include "content/public/browser/content_browser_client.h" |
| 16 #include "content/public/browser/devtools_agent_host.h" | 15 #include "content/public/browser/devtools_agent_host.h" |
| 17 #include "content/public/browser/devtools_external_agent_proxy.h" | 16 #include "content/public/browser/devtools_external_agent_proxy.h" |
| 18 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" | 17 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" |
| 19 #include "content/public/browser/devtools_target.h" | 18 #include "content/public/browser/devtools_target.h" |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 scheduler.Run(); | 451 scheduler.Run(); |
| 453 EXPECT_TRUE(scheduler.IsEmpty()); | 452 EXPECT_TRUE(scheduler.IsEmpty()); |
| 454 EXPECT_EQ(4, observer->updates_count()); | 453 EXPECT_EQ(4, observer->updates_count()); |
| 455 | 454 |
| 456 manager->RemoveObserver(observer.get()); | 455 manager->RemoveObserver(observer.get()); |
| 457 | 456 |
| 458 EXPECT_TRUE(scheduler.IsEmpty()); | 457 EXPECT_TRUE(scheduler.IsEmpty()); |
| 459 } | 458 } |
| 460 | 459 |
| 461 } // namespace content | 460 } // namespace content |
| OLD | NEW |