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

Side by Side Diff: chrome/browser/safe_browsing/local_database_manager.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
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/safe_browsing/local_database_manager.h" 5 #include "chrome/browser/safe_browsing/local_database_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 26 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
27 #include "chrome/browser/safe_browsing/download_protection_service.h" 27 #include "chrome/browser/safe_browsing/download_protection_service.h"
28 #include "chrome/browser/safe_browsing/protocol_manager.h" 28 #include "chrome/browser/safe_browsing/protocol_manager.h"
29 #include "chrome/browser/safe_browsing/safe_browsing_database.h" 29 #include "chrome/browser/safe_browsing/safe_browsing_database.h"
30 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 30 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
31 #include "chrome/browser/safe_browsing/ui_manager.h" 31 #include "chrome/browser/safe_browsing/ui_manager.h"
32 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/chrome_switches.h" 33 #include "chrome/common/chrome_switches.h"
34 #include "chrome/common/pref_names.h" 34 #include "chrome/common/pref_names.h"
35 #include "components/prefs/pref_service.h" 35 #include "components/prefs/pref_service.h"
36 #include "components/safe_browsing/common/safe_browsing_prefs.h"
36 #include "components/safe_browsing/common/safebrowsing_switches.h" 37 #include "components/safe_browsing/common/safebrowsing_switches.h"
37 #include "components/safe_browsing_db/safe_browsing_prefs.h"
38 #include "components/safe_browsing_db/util.h" 38 #include "components/safe_browsing_db/util.h"
39 #include "components/safe_browsing_db/v4_protocol_manager_util.h" 39 #include "components/safe_browsing_db/v4_protocol_manager_util.h"
40 #include "content/public/browser/browser_thread.h" 40 #include "content/public/browser/browser_thread.h"
41 #include "content/public/browser/notification_service.h" 41 #include "content/public/browser/notification_service.h"
42 #include "net/url_request/url_request_context_getter.h" 42 #include "net/url_request/url_request_context_getter.h"
43 #include "url/url_constants.h" 43 #include "url/url_constants.h"
44 44
45 using content::BrowserThread; 45 using content::BrowserThread;
46 46
47 namespace safe_browsing { 47 namespace safe_browsing {
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 base::BindOnce(&LocalSafeBrowsingDatabaseManager::TimeoutCallback, 1254 base::BindOnce(&LocalSafeBrowsingDatabaseManager::TimeoutCallback,
1255 check_ptr->weak_ptr_factory_->GetWeakPtr(), check_ptr), 1255 check_ptr->weak_ptr_factory_->GetWeakPtr(), check_ptr),
1256 check_timeout_); 1256 check_timeout_);
1257 } 1257 }
1258 1258
1259 bool LocalSafeBrowsingDatabaseManager::IsDownloadProtectionEnabled() const { 1259 bool LocalSafeBrowsingDatabaseManager::IsDownloadProtectionEnabled() const {
1260 return enable_download_protection_; 1260 return enable_download_protection_;
1261 } 1261 }
1262 1262
1263 } // namespace safe_browsing 1263 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/local_database_manager.h ('k') | chrome/browser/safe_browsing/notification_image_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698