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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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 // This test creates a fake safebrowsing service, where we can inject known- 5 // This test creates a fake safebrowsing service, where we can inject known-
6 // threat urls. It then uses a real browser to go to these urls, and sends 6 // threat urls. It then uses a real browser to go to these urls, and sends
7 // "goback" or "proceed" commands and verifies they work. 7 // "goback" or "proceed" commands and verifies they work.
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/histogram_tester.h" 17 #include "base/test/histogram_tester.h"
17 #include "base/values.h" 18 #include "base/values.h"
18 #include "build/build_config.h" 19 #include "build/build_config.h"
19 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/interstitials/security_interstitial_page_test_utils.h" 21 #include "chrome/browser/interstitials/security_interstitial_page_test_utils.h"
21 #include "chrome/browser/net/url_request_mock_util.h" 22 #include "chrome/browser/net/url_request_mock_util.h"
22 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/safe_browsing/local_database_manager.h" 24 #include "chrome/browser/safe_browsing/local_database_manager.h"
(...skipping 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 1487
1487 INSTANTIATE_TEST_CASE_P( 1488 INSTANTIATE_TEST_CASE_P(
1488 SafeBrowsingBlockingPageIDNTestWithThreatType, 1489 SafeBrowsingBlockingPageIDNTestWithThreatType,
1489 SafeBrowsingBlockingPageIDNTest, 1490 SafeBrowsingBlockingPageIDNTest,
1490 testing::Combine(testing::Values(false, true), 1491 testing::Combine(testing::Values(false, true),
1491 testing::Values(SB_THREAT_TYPE_URL_MALWARE, 1492 testing::Values(SB_THREAT_TYPE_URL_MALWARE,
1492 SB_THREAT_TYPE_URL_PHISHING, 1493 SB_THREAT_TYPE_URL_PHISHING,
1493 SB_THREAT_TYPE_URL_UNWANTED))); 1494 SB_THREAT_TYPE_URL_UNWANTED)));
1494 1495
1495 } // namespace safe_browsing 1496 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698