Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome/browser/download/download_browsertest.cc

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/download/download_browsertest.h" 5 #include "chrome/browser/download/download_browsertest.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "chrome/grit/generated_resources.h" 74 #include "chrome/grit/generated_resources.h"
75 #include "chrome/test/base/in_process_browser_test.h" 75 #include "chrome/test/base/in_process_browser_test.h"
76 #include "chrome/test/base/ui_test_utils.h" 76 #include "chrome/test/base/ui_test_utils.h"
77 #include "components/history/content/browser/download_conversions.h" 77 #include "components/history/content/browser/download_conversions.h"
78 #include "components/history/core/browser/download_constants.h" 78 #include "components/history/core/browser/download_constants.h"
79 #include "components/history/core/browser/download_row.h" 79 #include "components/history/core/browser/download_row.h"
80 #include "components/history/core/browser/history_service.h" 80 #include "components/history/core/browser/history_service.h"
81 #include "components/infobars/core/confirm_infobar_delegate.h" 81 #include "components/infobars/core/confirm_infobar_delegate.h"
82 #include "components/infobars/core/infobar.h" 82 #include "components/infobars/core/infobar.h"
83 #include "components/prefs/pref_service.h" 83 #include "components/prefs/pref_service.h"
84 #include "components/safe_browsing/common/safe_browsing_prefs.h"
84 #include "components/safe_browsing/csd.pb.h" 85 #include "components/safe_browsing/csd.pb.h"
85 #include "components/safe_browsing_db/safe_browsing_prefs.h"
86 #include "content/public/browser/download_danger_type.h" 86 #include "content/public/browser/download_danger_type.h"
87 #include "content/public/browser/download_interrupt_reasons.h" 87 #include "content/public/browser/download_interrupt_reasons.h"
88 #include "content/public/browser/download_item.h" 88 #include "content/public/browser/download_item.h"
89 #include "content/public/browser/download_manager.h" 89 #include "content/public/browser/download_manager.h"
90 #include "content/public/browser/download_save_info.h" 90 #include "content/public/browser/download_save_info.h"
91 #include "content/public/browser/download_url_parameters.h" 91 #include "content/public/browser/download_url_parameters.h"
92 #include "content/public/browser/notification_source.h" 92 #include "content/public/browser/notification_source.h"
93 #include "content/public/browser/render_frame_host.h" 93 #include "content/public/browser/render_frame_host.h"
94 #include "content/public/browser/render_view_host.h" 94 #include "content/public/browser/render_view_host.h"
95 #include "content/public/browser/render_widget_host.h" 95 #include "content/public/browser/render_widget_host.h"
(...skipping 3772 matching lines...) Expand 10 before | Expand all | Expand 10 after
3868 browser(), 1, 3868 browser(), 1,
3869 content::DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_DENY)); 3869 content::DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_DENY));
3870 ui_test_utils::NavigateToURL(browser(), extension_url); 3870 ui_test_utils::NavigateToURL(browser(), extension_url);
3871 3871
3872 observer->WaitForFinished(); 3872 observer->WaitForFinished();
3873 3873
3874 // Download shelf should close. 3874 // Download shelf should close.
3875 EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); 3875 EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible());
3876 } 3876 }
3877 #endif // defined(OS_CHROMEOS) 3877 #endif // defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698