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

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

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: address comments 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #include "chrome/grit/generated_resources.h" 73 #include "chrome/grit/generated_resources.h"
74 #include "chrome/test/base/in_process_browser_test.h" 74 #include "chrome/test/base/in_process_browser_test.h"
75 #include "chrome/test/base/ui_test_utils.h" 75 #include "chrome/test/base/ui_test_utils.h"
76 #include "components/history/content/browser/download_conversions.h" 76 #include "components/history/content/browser/download_conversions.h"
77 #include "components/history/core/browser/download_constants.h" 77 #include "components/history/core/browser/download_constants.h"
78 #include "components/history/core/browser/download_row.h" 78 #include "components/history/core/browser/download_row.h"
79 #include "components/history/core/browser/history_service.h" 79 #include "components/history/core/browser/history_service.h"
80 #include "components/infobars/core/confirm_infobar_delegate.h" 80 #include "components/infobars/core/confirm_infobar_delegate.h"
81 #include "components/infobars/core/infobar.h" 81 #include "components/infobars/core/infobar.h"
82 #include "components/prefs/pref_service.h" 82 #include "components/prefs/pref_service.h"
83 #include "components/safe_browsing/common/safe_browsing_prefs.h"
83 #include "components/safe_browsing/csd.pb.h" 84 #include "components/safe_browsing/csd.pb.h"
84 #include "components/safe_browsing_db/safe_browsing_prefs.h"
85 #include "content/public/browser/download_danger_type.h" 85 #include "content/public/browser/download_danger_type.h"
86 #include "content/public/browser/download_interrupt_reasons.h" 86 #include "content/public/browser/download_interrupt_reasons.h"
87 #include "content/public/browser/download_item.h" 87 #include "content/public/browser/download_item.h"
88 #include "content/public/browser/download_manager.h" 88 #include "content/public/browser/download_manager.h"
89 #include "content/public/browser/download_save_info.h" 89 #include "content/public/browser/download_save_info.h"
90 #include "content/public/browser/download_url_parameters.h" 90 #include "content/public/browser/download_url_parameters.h"
91 #include "content/public/browser/notification_source.h" 91 #include "content/public/browser/notification_source.h"
92 #include "content/public/browser/render_frame_host.h" 92 #include "content/public/browser/render_frame_host.h"
93 #include "content/public/browser/render_view_host.h" 93 #include "content/public/browser/render_view_host.h"
94 #include "content/public/browser/render_widget_host.h" 94 #include "content/public/browser/render_widget_host.h"
(...skipping 3772 matching lines...) Expand 10 before | Expand all | Expand 10 after
3867 browser(), 1, 3867 browser(), 1,
3868 content::DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_DENY)); 3868 content::DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_DENY));
3869 ui_test_utils::NavigateToURL(browser(), extension_url); 3869 ui_test_utils::NavigateToURL(browser(), extension_url);
3870 3870
3871 observer->WaitForFinished(); 3871 observer->WaitForFinished();
3872 3872
3873 // Download shelf should close. 3873 // Download shelf should close.
3874 EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); 3874 EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible());
3875 } 3875 }
3876 #endif // defined(OS_CHROMEOS) 3876 #endif // defined(OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698