| 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> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "components/visitedlink/common/visitedlink.mojom.h" | 28 #include "components/visitedlink/common/visitedlink.mojom.h" |
| 29 #include "components/visitedlink/renderer/visitedlink_slave.h" | 29 #include "components/visitedlink/renderer/visitedlink_slave.h" |
| 30 #include "content/public/browser/browser_thread.h" | 30 #include "content/public/browser/browser_thread.h" |
| 31 #include "content/public/browser/notification_service.h" | 31 #include "content/public/browser/notification_service.h" |
| 32 #include "content/public/browser/notification_types.h" | 32 #include "content/public/browser/notification_types.h" |
| 33 #include "content/public/test/mock_render_process_host.h" | 33 #include "content/public/test/mock_render_process_host.h" |
| 34 #include "content/public/test/test_browser_context.h" | 34 #include "content/public/test/test_browser_context.h" |
| 35 #include "content/public/test/test_browser_thread_bundle.h" | 35 #include "content/public/test/test_browser_thread_bundle.h" |
| 36 #include "content/public/test/test_renderer_host.h" | 36 #include "content/public/test/test_renderer_host.h" |
| 37 #include "content/public/test/test_utils.h" | 37 #include "content/public/test/test_utils.h" |
| 38 #include "services/shell/public/cpp/interface_provider.h" | 38 #include "services/service_manager/public/cpp/interface_provider.h" |
| 39 #include "testing/gtest/include/gtest/gtest.h" | 39 #include "testing/gtest/include/gtest/gtest.h" |
| 40 #include "url/gurl.h" | 40 #include "url/gurl.h" |
| 41 | 41 |
| 42 using content::BrowserThread; | 42 using content::BrowserThread; |
| 43 using content::MockRenderProcessHost; | 43 using content::MockRenderProcessHost; |
| 44 using content::RenderViewHostTester; | 44 using content::RenderViewHostTester; |
| 45 | 45 |
| 46 namespace visitedlink { | 46 namespace visitedlink { |
| 47 | 47 |
| 48 namespace { | 48 namespace { |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 // Waiting complete loading the table. | 878 // Waiting complete loading the table. |
| 879 content::RunAllBlockingPoolTasksUntilIdle(); | 879 content::RunAllBlockingPoolTasksUntilIdle(); |
| 880 | 880 |
| 881 context()->binding().FlushForTesting(); | 881 context()->binding().FlushForTesting(); |
| 882 | 882 |
| 883 // After load table expect completely reset event. | 883 // After load table expect completely reset event. |
| 884 EXPECT_EQ(1, context()->completely_reset_event_count()); | 884 EXPECT_EQ(1, context()->completely_reset_event_count()); |
| 885 } | 885 } |
| 886 | 886 |
| 887 } // namespace visitedlink | 887 } // namespace visitedlink |
| OLD | NEW |