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 <cstdio> | 5 #include <cstdio> |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/process_util.h" | 12 #include "base/process_util.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/shared_memory.h" | 14 #include "base/shared_memory.h" |
15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "components/visitedlink/browser/visitedlink_delegate.h" | 17 #include "components/visitedlink/browser/visitedlink_delegate.h" |
18 #include "components/visitedlink/browser/visitedlink_event_listener.h" | 18 #include "components/visitedlink/browser/visitedlink_event_listener.h" |
19 #include "components/visitedlink/browser/visitedlink_master.h" | 19 #include "components/visitedlink/browser/visitedlink_master.h" |
20 #include "components/visitedlink/common/visitedlink_messages.h" | 20 #include "components/visitedlink/common/visitedlink_messages.h" |
21 #include "components/visitedlink/renderer/visitedlink_slave.h" | 21 #include "components/visitedlink/renderer/visitedlink_slave.h" |
22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
23 #include "content/public/browser/notification_service.h" | 23 #include "content/public/browser/notification_service.h" |
24 #include "content/public/browser/notification_types.h" | 24 #include "content/public/browser/notification_types.h" |
25 #include "content/public/test/mock_render_process_host.h" | 25 #include "content/public/test/mock_render_process_host.h" |
26 #include "content/public/test/test_browser_context.h" | 26 #include "content/public/test/test_browser_context.h" |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 content::NOTIFICATION_RENDERER_PROCESS_CREATED, | 761 content::NOTIFICATION_RENDERER_PROCESS_CREATED, |
762 content::Source<content::RenderProcessHost>(&different_process_host), | 762 content::Source<content::RenderProcessHost>(&different_process_host), |
763 content::NotificationService::NoDetails()); | 763 content::NotificationService::NoDetails()); |
764 WaitForCoalescense(); | 764 WaitForCoalescense(); |
765 | 765 |
766 EXPECT_EQ(0, different_context.new_table_count()); | 766 EXPECT_EQ(0, different_context.new_table_count()); |
767 | 767 |
768 } | 768 } |
769 | 769 |
770 } // namespace visitedlink | 770 } // namespace visitedlink |
OLD | NEW |