| 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <cstdio> | 8 #include <cstdio> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
| 14 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/shared_memory.h" | 16 #include "base/memory/shared_memory.h" |
| 17 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" |
| 18 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
| 19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
| 20 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" |
| 21 #include "base/thread_task_runner_handle.h" | 21 #include "base/threading/thread_task_runner_handle.h" |
| 22 #include "base/time/time.h" | 22 #include "base/time/time.h" |
| 23 #include "components/visitedlink/browser/visitedlink_delegate.h" | 23 #include "components/visitedlink/browser/visitedlink_delegate.h" |
| 24 #include "components/visitedlink/browser/visitedlink_event_listener.h" | 24 #include "components/visitedlink/browser/visitedlink_event_listener.h" |
| 25 #include "components/visitedlink/browser/visitedlink_master.h" | 25 #include "components/visitedlink/browser/visitedlink_master.h" |
| 26 #include "components/visitedlink/common/visitedlink_messages.h" | 26 #include "components/visitedlink/common/visitedlink_messages.h" |
| 27 #include "components/visitedlink/renderer/visitedlink_slave.h" | 27 #include "components/visitedlink/renderer/visitedlink_slave.h" |
| 28 #include "content/public/browser/browser_thread.h" | 28 #include "content/public/browser/browser_thread.h" |
| 29 #include "content/public/browser/notification_service.h" | 29 #include "content/public/browser/notification_service.h" |
| 30 #include "content/public/browser/notification_types.h" | 30 #include "content/public/browser/notification_types.h" |
| 31 #include "content/public/test/mock_render_process_host.h" | 31 #include "content/public/test/mock_render_process_host.h" |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 // Waiting complete loading the table. | 882 // Waiting complete loading the table. |
| 883 content::RunAllBlockingPoolTasksUntilIdle(); | 883 content::RunAllBlockingPoolTasksUntilIdle(); |
| 884 | 884 |
| 885 WaitForCoalescence(); | 885 WaitForCoalescence(); |
| 886 | 886 |
| 887 // After load table expect completely reset event. | 887 // After load table expect completely reset event. |
| 888 EXPECT_EQ(1, context()->completely_reset_event_count()); | 888 EXPECT_EQ(1, context()->completely_reset_event_count()); |
| 889 } | 889 } |
| 890 | 890 |
| 891 } // namespace visitedlink | 891 } // namespace visitedlink |
| OLD | NEW |