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

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

Issue 5139006: FBTF: Remove unneeded headers from base/ (part 10) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac, cros build Created 10 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
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_store.cc (revision 67155)
+++ chrome/browser/safe_browsing/safe_browsing_store.cc (working copy)
@@ -6,6 +6,8 @@
#include <algorithm>
+#include "base/task.h"
+
namespace {
// Find items matching between |subs| and |adds|, and remove them,
@@ -134,19 +136,19 @@
// Sort the inputs by the SBAddPrefix bits.
std::sort(add_prefixes->begin(), add_prefixes->end(),
- SBAddPrefixLess<SBAddPrefix,SBAddPrefix>);
+ SBAddPrefixLess<SBAddPrefix, SBAddPrefix>);
std::sort(sub_prefixes->begin(), sub_prefixes->end(),
- SBAddPrefixLess<SBSubPrefix,SBSubPrefix>);
+ SBAddPrefixLess<SBSubPrefix, SBSubPrefix>);
std::sort(add_full_hashes->begin(), add_full_hashes->end(),
- SBAddPrefixHashLess<SBAddFullHash,SBAddFullHash>);
+ SBAddPrefixHashLess<SBAddFullHash, SBAddFullHash>);
std::sort(sub_full_hashes->begin(), sub_full_hashes->end(),
- SBAddPrefixHashLess<SBSubFullHash,SBSubFullHash>);
+ SBAddPrefixHashLess<SBSubFullHash, SBSubFullHash>);
// Factor out the prefix subs.
std::vector<SBAddPrefix> removed_adds;
KnockoutSubs(sub_prefixes, add_prefixes,
- SBAddPrefixLess<SBAddPrefix,SBSubPrefix>,
- SBAddPrefixLess<SBSubPrefix,SBAddPrefix>,
+ SBAddPrefixLess<SBAddPrefix, SBSubPrefix>,
+ SBAddPrefixLess<SBSubPrefix, SBAddPrefix>,
&removed_adds);
// Remove the full-hashes corrosponding to the adds which
@@ -167,8 +169,8 @@
// Factor out the full-hash subs.
std::vector<SBAddFullHash> removed_full_adds;
KnockoutSubs(sub_full_hashes, add_full_hashes,
- SBAddPrefixHashLess<SBAddFullHash,SBSubFullHash>,
- SBAddPrefixHashLess<SBSubFullHash,SBAddFullHash>,
+ SBAddPrefixHashLess<SBAddFullHash, SBSubFullHash>,
+ SBAddPrefixHashLess<SBSubFullHash, SBAddFullHash>,
&removed_full_adds);
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store.h ('k') | chrome/browser/search_engines/search_host_to_urls_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698