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

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

Issue 1824933002: include safe_browsing_db/util.h directly in files not related to chunking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v4_01_prot_mgr_basic_tests
Patch Set: git fetch && git rebase Created 4 years, 9 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 safebrowsing service using test safebrowsing database 5 // This test creates a safebrowsing service using test safebrowsing database
6 // and a test protocol manager. It is used to test logics in safebrowsing 6 // and a test protocol manager. It is used to test logics in safebrowsing
7 // service. 7 // service.
8 8
9 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 9 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
10 10
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/browser_process.h" 29 #include "chrome/browser/browser_process.h"
30 #include "chrome/browser/chrome_notification_types.h" 30 #include "chrome/browser/chrome_notification_types.h"
31 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 31 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
32 #include "chrome/browser/prerender/prerender_manager.h" 32 #include "chrome/browser/prerender/prerender_manager.h"
33 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
34 #include "chrome/browser/profiles/profile_manager.h" 34 #include "chrome/browser/profiles/profile_manager.h"
35 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 35 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
36 #include "chrome/browser/safe_browsing/local_database_manager.h" 36 #include "chrome/browser/safe_browsing/local_database_manager.h"
37 #include "chrome/browser/safe_browsing/protocol_manager.h" 37 #include "chrome/browser/safe_browsing/protocol_manager.h"
38 #include "chrome/browser/safe_browsing/safe_browsing_database.h" 38 #include "chrome/browser/safe_browsing/safe_browsing_database.h"
39 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
40 #include "chrome/browser/safe_browsing/ui_manager.h" 39 #include "chrome/browser/safe_browsing/ui_manager.h"
41 #include "chrome/browser/ui/browser.h" 40 #include "chrome/browser/ui/browser.h"
42 #include "chrome/browser/ui/browser_navigator_params.h" 41 #include "chrome/browser/ui/browser_navigator_params.h"
43 #include "chrome/browser/ui/tabs/tab_strip_model.h" 42 #include "chrome/browser/ui/tabs/tab_strip_model.h"
44 #include "chrome/common/chrome_paths.h" 43 #include "chrome/common/chrome_paths.h"
45 #include "chrome/common/chrome_switches.h" 44 #include "chrome/common/chrome_switches.h"
46 #include "chrome/common/pref_names.h" 45 #include "chrome/common/pref_names.h"
47 #include "chrome/test/base/in_process_browser_test.h" 46 #include "chrome/test/base/in_process_browser_test.h"
48 #include "chrome/test/base/ui_test_utils.h" 47 #include "chrome/test/base/ui_test_utils.h"
49 #include "components/bookmarks/browser/startup_task_runner_service.h" 48 #include "components/bookmarks/browser/startup_task_runner_service.h"
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, 1727 chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
1729 content::Source<SafeBrowsingDatabaseManager>( 1728 content::Source<SafeBrowsingDatabaseManager>(
1730 sb_service_->database_manager().get())); 1729 sb_service_->database_manager().get()));
1731 BrowserThread::PostTask( 1730 BrowserThread::PostTask(
1732 BrowserThread::IO, FROM_HERE, 1731 BrowserThread::IO, FROM_HERE,
1733 base::Bind(&SafeBrowsingDatabaseManagerCookieTest::ForceUpdate, this)); 1732 base::Bind(&SafeBrowsingDatabaseManagerCookieTest::ForceUpdate, this));
1734 observer.Wait(); 1733 observer.Wait();
1735 } 1734 }
1736 1735
1737 } // namespace safe_browsing 1736 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.h ('k') | chrome/browser/safe_browsing/safe_browsing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698