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

Unified Diff: chrome/browser/safe_browsing/local_database_manager.h

Issue 1420123003: Move more declarations from c/b/sb/sb_util.h to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_components
Patch Set: Minor: Replace safe_browsing_util:: with safe_browsing:: and use safe_browsing:: namespace prefix Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/local_database_manager.h
diff --git a/chrome/browser/safe_browsing/local_database_manager.h b/chrome/browser/safe_browsing/local_database_manager.h
index 509a604180d65369b9f49179352cf2433fc67f35..a848f1a6b519bf5cf9ca6787618ba8457b338d53 100644
--- a/chrome/browser/safe_browsing/local_database_manager.h
+++ b/chrome/browser/safe_browsing/local_database_manager.h
@@ -24,7 +24,7 @@
#include "base/time/time.h"
#include "chrome/browser/safe_browsing/database_manager.h"
#include "chrome/browser/safe_browsing/protocol_manager.h"
-#include "chrome/browser/safe_browsing/safe_browsing_util.h"
+#include "components/safe_browsing_db/util.h"
#include "url/gurl.h"
class SafeBrowsingService;
@@ -57,7 +57,7 @@ class LocalSafeBrowsingDatabaseManager
SafeBrowsingCheck(const std::vector<GURL>& urls,
const std::vector<SBFullHash>& full_hashes,
Client* client,
- safe_browsing_util::ListType check_type,
+ safe_browsing::ListType check_type,
const std::vector<SBThreatType>& expected_threats);
~SafeBrowsingCheck();
@@ -74,7 +74,7 @@ class LocalSafeBrowsingDatabaseManager
bool is_extended_reporting;
bool need_get_hash;
base::TimeTicks start; // When check was sent to SB service.
- safe_browsing_util::ListType check_type; // See comment in constructor.
+ safe_browsing::ListType check_type; // See comment in constructor.
std::vector<SBThreatType> expected_threats;
std::vector<SBPrefix> prefix_hits;
std::vector<SBFullHashResult> cache_hits;
@@ -154,13 +154,13 @@ class LocalSafeBrowsingDatabaseManager
// Clients that we've queued up for checking later once the database is ready.
struct QueuedCheck {
- QueuedCheck(const safe_browsing_util::ListType check_type,
+ QueuedCheck(const safe_browsing::ListType check_type,
Client* client,
const GURL& url,
const std::vector<SBThreatType>& expected_threats,
const base::TimeTicks& start);
~QueuedCheck();
- safe_browsing_util::ListType check_type;
+ safe_browsing::ListType check_type;
Client* client;
GURL url;
std::vector<SBThreatType> expected_threats;

Powered by Google App Engine
This is Rietveld 408576698