OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <limits> | 5 #include <limits> |
6 | 6 |
| 7 #include "base/memory/scoped_vector.h" |
7 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
8 #include "content/public/test/test_browser_thread_bundle.h" | 9 #include "content/public/test/test_browser_thread_bundle.h" |
9 #include "extensions/browser/deferred_start_render_host.h" | 10 #include "extensions/browser/deferred_start_render_host.h" |
10 #include "extensions/browser/extensions_test.h" | 11 #include "extensions/browser/extensions_test.h" |
11 #include "extensions/browser/load_monitoring_extension_host_queue.h" | 12 #include "extensions/browser/load_monitoring_extension_host_queue.h" |
12 #include "extensions/browser/serial_extension_host_queue.h" | 13 #include "extensions/browser/serial_extension_host_queue.h" |
13 | 14 |
14 namespace extensions { | 15 namespace extensions { |
15 | 16 |
16 namespace { | 17 namespace { |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 queue()->Remove(host3); | 344 queue()->Remove(host3); |
344 queue()->Remove(host4); | 345 queue()->Remove(host4); |
345 | 346 |
346 EXPECT_FALSE(host1->IsObservedBy(queue())); | 347 EXPECT_FALSE(host1->IsObservedBy(queue())); |
347 EXPECT_FALSE(host2->IsObservedBy(queue())); | 348 EXPECT_FALSE(host2->IsObservedBy(queue())); |
348 EXPECT_FALSE(host3->IsObservedBy(queue())); | 349 EXPECT_FALSE(host3->IsObservedBy(queue())); |
349 EXPECT_FALSE(host4->IsObservedBy(queue())); | 350 EXPECT_FALSE(host4->IsObservedBy(queue())); |
350 } | 351 } |
351 | 352 |
352 } // namespace extensions | 353 } // namespace extensions |
OLD | NEW |