| 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> |
| 6 |
| 5 #include <deque> | 7 #include <deque> |
| 6 #include <vector> | 8 #include <vector> |
| 7 | 9 |
| 8 #include "base/bind.h" | 10 #include "base/bind.h" |
| 9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted_memory.h" | 14 #include "base/memory/ref_counted_memory.h" |
| 13 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 15 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 16 #include "base/prefs/pref_service.h" | 18 #include "base/prefs/pref_service.h" |
| 17 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
| 18 #include "base/scoped_observer.h" | 20 #include "base/scoped_observer.h" |
| 19 #include "base/stl_util.h" | 21 #include "base/stl_util.h" |
| 20 #include "base/strings/string_split.h" | 22 #include "base/strings/string_split.h" |
| 21 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
| 22 #include "base/strings/stringprintf.h" | 24 #include "base/strings/stringprintf.h" |
| 23 #include "base/strings/utf_string_conversions.h" | 25 #include "base/strings/utf_string_conversions.h" |
| 24 #include "base/test/histogram_tester.h" | 26 #include "base/test/histogram_tester.h" |
| 25 #include "base/test/test_timeouts.h" | 27 #include "base/test/test_timeouts.h" |
| 26 #include "base/values.h" | 28 #include "base/values.h" |
| 29 #include "build/build_config.h" |
| 27 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 30 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 28 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 31 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 29 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" | 32 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" |
| 30 #include "chrome/browser/chrome_content_browser_client.h" | 33 #include "chrome/browser/chrome_content_browser_client.h" |
| 31 #include "chrome/browser/chrome_notification_types.h" | 34 #include "chrome/browser/chrome_notification_types.h" |
| 32 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 35 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
| 33 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" | 36 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
| 34 #include "chrome/browser/extensions/extension_apitest.h" | 37 #include "chrome/browser/extensions/extension_apitest.h" |
| 35 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 38 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 36 #include "chrome/browser/net/prediction_options.h" | 39 #include "chrome/browser/net/prediction_options.h" |
| (...skipping 4006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4043 | 4046 |
| 4044 NavigateToDestURL(); | 4047 NavigateToDestURL(); |
| 4045 EXPECT_EQ(1U, task_manager.tasks().size()); | 4048 EXPECT_EQ(1U, task_manager.tasks().size()); |
| 4046 } | 4049 } |
| 4047 | 4050 |
| 4048 } // namespace | 4051 } // namespace |
| 4049 | 4052 |
| 4050 #endif // defined(ENABLE_TASK_MANAGER) | 4053 #endif // defined(ENABLE_TASK_MANAGER) |
| 4051 | 4054 |
| 4052 } // namespace prerender | 4055 } // namespace prerender |
| OLD | NEW |