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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store_file.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_file.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.h b/chrome/browser/safe_browsing/safe_browsing_store_file.h
index bbe22fa812368d9be0e48bf2eabd03d85c43edf4..4d59bc435427316d9e7b5c36ccd8b7f8061f17b0 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h
@@ -15,6 +15,8 @@
#include "base/files/scoped_file.h"
#include "base/sequenced_task_runner.h"
+namespace safe_browsing {
+
// Implement SafeBrowsingStore in terms of a flat file. The file
// format is pretty literal:
//
@@ -154,7 +156,7 @@ class SafeBrowsingStoreFile : public SafeBrowsingStore {
bool BeginUpdate() override;
bool FinishUpdate(
- safe_browsing::PrefixSetBuilder* builder,
+ PrefixSetBuilder* builder,
std::vector<SBAddFullHash>* add_full_hashes_result) override;
bool CancelUpdate() override;
@@ -189,7 +191,7 @@ class SafeBrowsingStoreFile : public SafeBrowsingStore {
// Does the actual update for FinishUpdate(), so that FinishUpdate() can clean
// up correctly in case of error.
- virtual bool DoUpdate(safe_browsing::PrefixSetBuilder* builder,
+ virtual bool DoUpdate(PrefixSetBuilder* builder,
std::vector<SBAddFullHash>* add_full_hashes_result);
// Some very lucky users have an original-format file still in their
@@ -279,4 +281,6 @@ class SafeBrowsingStoreFile : public SafeBrowsingStore {
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile);
};
+} // namespace safe_browsing
+
#endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store.cc ('k') | chrome/browser/safe_browsing/safe_browsing_store_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698