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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "chrome/browser/extensions/extension_install_ui.h" | 29 #include "chrome/browser/extensions/extension_install_ui.h" |
30 #include "chrome/browser/extensions/extension_service.h" | 30 #include "chrome/browser/extensions/extension_service.h" |
31 #include "chrome/browser/history/history.h" | 31 #include "chrome/browser/history/history.h" |
32 #include "chrome/browser/net/url_request_mock_util.h" | 32 #include "chrome/browser/net/url_request_mock_util.h" |
33 #include "chrome/browser/prefs/pref_service.h" | 33 #include "chrome/browser/prefs/pref_service.h" |
34 #include "chrome/browser/profiles/profile.h" | 34 #include "chrome/browser/profiles/profile.h" |
35 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 35 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
36 #include "chrome/browser/ui/browser.h" | 36 #include "chrome/browser/ui/browser.h" |
37 #include "chrome/browser/ui/browser_list.h" | 37 #include "chrome/browser/ui/browser_list.h" |
38 #include "chrome/browser/ui/browser_window.h" | 38 #include "chrome/browser/ui/browser_window.h" |
39 #include "chrome/browser/ui/webui/active_downloads_ui.h" | 39 #include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h" |
40 #include "chrome/common/chrome_notification_types.h" | 40 #include "chrome/common/chrome_notification_types.h" |
41 #include "chrome/common/chrome_paths.h" | 41 #include "chrome/common/chrome_paths.h" |
42 #include "chrome/common/pref_names.h" | 42 #include "chrome/common/pref_names.h" |
43 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
44 #include "chrome/test/base/in_process_browser_test.h" | 44 #include "chrome/test/base/in_process_browser_test.h" |
45 #include "chrome/test/base/ui_test_utils.h" | 45 #include "chrome/test/base/ui_test_utils.h" |
46 #include "content/browser/download/download_persistent_store_info.h" | 46 #include "content/browser/download/download_persistent_store_info.h" |
47 #include "content/browser/net/url_request_mock_http_job.h" | 47 #include "content/browser/net/url_request_mock_http_job.h" |
48 #include "content/browser/net/url_request_slow_download_job.h" | 48 #include "content/browser/net/url_request_slow_download_job.h" |
49 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 49 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
(...skipping 1961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2011 "zip_file_not_found.zip", | 2011 "zip_file_not_found.zip", |
2012 DOWNLOAD_NAVIGATE, | 2012 DOWNLOAD_NAVIGATE, |
2013 content::DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED, | 2013 content::DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED, |
2014 false | 2014 false |
2015 }; | 2015 }; |
2016 | 2016 |
2017 // Do initial setup. | 2017 // Do initial setup. |
2018 ASSERT_TRUE(InitialSetup(false)); | 2018 ASSERT_TRUE(InitialSetup(false)); |
2019 DownloadFileCheckErrors(download_info); | 2019 DownloadFileCheckErrors(download_info); |
2020 } | 2020 } |
OLD | NEW |