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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store.cc

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: chrome/browser/safe_browsing/safe_browsing_store.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store.cc b/chrome/browser/safe_browsing/safe_browsing_store.cc
index e4c15e74b5da2bd9d9d38a2fed561f335f9b3303..0ca84b48437d3a5d5c02b8fd457a1e91e7dd6576 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store.cc
@@ -8,7 +8,7 @@
#include "base/logging.h"
-namespace {
+namespace safe_browsing {
// Return |true| if the range is sorted by the given comparator.
Nathan Parker 2015/11/05 22:00:53 anon namespace
vakh (old account. dont use) 2015/11/07 01:22:56 Done.
template <typename CTI, typename LESS>
@@ -88,8 +88,6 @@ void RemoveDeleted(ItemsT* items, const base::hash_set<int32>& del_set) {
items->erase(end_iter, items->end());
}
-} // namespace
-
void SBProcessSubs(SBAddPrefixes* add_prefixes,
SBSubPrefixes* sub_prefixes,
std::vector<SBAddFullHash>* add_full_hashes,
@@ -129,3 +127,5 @@ void SBProcessSubs(SBAddPrefixes* add_prefixes,
RemoveDeleted(add_full_hashes, add_chunks_deleted);
RemoveDeleted(sub_full_hashes, sub_chunks_deleted);
}
+
+} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698