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

Unified Diff: components/safe_browsing_db/util.h

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Merging the latest changes from trunk. 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: components/safe_browsing_db/util.h
diff --git a/components/safe_browsing_db/util.h b/components/safe_browsing_db/util.h
index 666e0815f5cf81a137705e5997a7ea243e9fc8c6..994802001c5c1a04f200c8627f0695071453758d 100644
--- a/components/safe_browsing_db/util.h
+++ b/components/safe_browsing_db/util.h
@@ -15,9 +15,10 @@
#include "base/strings/string_piece.h"
#include "base/time/time.h"
-
class GURL;
+namespace safe_browsing {
+
// Different types of threats that SafeBrowsing protects against.
enum SBThreatType {
// No threat at all.
@@ -48,7 +49,6 @@ enum SBThreatType {
};
-// TODO(vakh): Move all these declarations under safe_browsing namespace.
// A truncated hash's type.
typedef uint32 SBPrefix;
@@ -76,9 +76,6 @@ struct SBCachedFullHashResult {
std::vector<SBFullHashResult> full_hashes;
};
-
-namespace safe_browsing {
-
// SafeBrowsing list names.
extern const char kMalwareList[];
extern const char kPhishingList[];

Powered by Google App Engine
This is Rietveld 408576698