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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store.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: Remove '// namespace safe_browsing' for a small fwd decl block. 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.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_store.h b/chrome/browser/safe_browsing/safe_browsing_store.h
index e4bd723528abd88db2a9b70b9841d72477ff9c20..83b0d8f021d56a0efc5778cc061ff75cc2c4bdaf 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store.h
@@ -15,14 +15,14 @@
#include "base/time/time.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
-namespace safe_browsing {
-class PrefixSetBuilder;
-};
-
namespace base {
class FilePath;
}
+namespace safe_browsing {
+
+class PrefixSetBuilder;
+
// SafeBrowsingStore provides a storage abstraction for the
// safe-browsing data used to build the bloom filter. The items
// stored are:
@@ -218,7 +218,7 @@ class SafeBrowsingStore {
// permanent storage. The resulting add prefixes and hashes will be
// stored in |add_prefixes_result| and |add_full_hashes_result|.
virtual bool FinishUpdate(
- safe_browsing::PrefixSetBuilder* builder,
+ PrefixSetBuilder* builder,
std::vector<SBAddFullHash>* add_full_hashes_result) = 0;
// Cancel the update in process and remove any temporary disk
@@ -229,4 +229,6 @@ class SafeBrowsingStore {
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore);
};
+} // namespace safe_browsing
+
#endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc ('k') | chrome/browser/safe_browsing/safe_browsing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698