| 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/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/path_service.h" | |
| 13 #include "base/process/process_handle.h" | 12 #include "base/process/process_handle.h" |
| 14 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
| 15 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 17 #include "components/visitedlink/browser/visitedlink_delegate.h" | 16 #include "components/visitedlink/browser/visitedlink_delegate.h" |
| 18 #include "components/visitedlink/browser/visitedlink_event_listener.h" | 17 #include "components/visitedlink/browser/visitedlink_event_listener.h" |
| 19 #include "components/visitedlink/browser/visitedlink_master.h" | 18 #include "components/visitedlink/browser/visitedlink_master.h" |
| 20 #include "components/visitedlink/common/visitedlink_messages.h" | 19 #include "components/visitedlink/common/visitedlink_messages.h" |
| 21 #include "components/visitedlink/renderer/visitedlink_slave.h" | 20 #include "components/visitedlink/renderer/visitedlink_slave.h" |
| 22 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 content::NotificationService::current()->Notify( | 757 content::NotificationService::current()->Notify( |
| 759 content::NOTIFICATION_RENDERER_PROCESS_CREATED, | 758 content::NOTIFICATION_RENDERER_PROCESS_CREATED, |
| 760 content::Source<content::RenderProcessHost>(&different_process_host), | 759 content::Source<content::RenderProcessHost>(&different_process_host), |
| 761 content::NotificationService::NoDetails()); | 760 content::NotificationService::NoDetails()); |
| 762 WaitForCoalescense(); | 761 WaitForCoalescense(); |
| 763 | 762 |
| 764 EXPECT_EQ(0, different_context.new_table_count()); | 763 EXPECT_EQ(0, different_context.new_table_count()); |
| 765 } | 764 } |
| 766 | 765 |
| 767 } // namespace visitedlink | 766 } // namespace visitedlink |
| OLD | NEW |