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

Unified Diff: components/safe_browsing_db/v4_store.h

Issue 1954393002: Initialize and reset V4LocalDBManager. Instantiate V4Stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v4_01_db_realz
Patch Set: Add v4_store.cc to gypi and update a comment Created 4 years, 7 months 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/v4_store.h
diff --git a/components/safe_browsing_db/v4_store.h b/components/safe_browsing_db/v4_store.h
index be9ff9da954843a17fa8704f90d753b22d62bc3f..1d1a030f964fb8622ede3eb8aa87c7c8d0f53966 100644
--- a/components/safe_browsing_db/v4_store.h
+++ b/components/safe_browsing_db/v4_store.h
@@ -5,9 +5,23 @@
#ifndef COMPONENTS_SAFE_BROWSING_DB_V4_STORE_H_
#define COMPONENTS_SAFE_BROWSING_DB_V4_STORE_H_
+#include "base/files/file_path.h"
+#include "base/memory/ref_counted.h"
+#include "base/sequenced_task_runner.h"
+
namespace safe_browsing {
class V4Store {
+ public:
+ V4Store(const scoped_refptr<base::SequencedTaskRunner>& task_runner,
+ const base::FilePath& store_path);
+ virtual ~V4Store();
+
+ // Reset internal state and delete the backing file.
+ virtual bool Reset();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(V4Store);
};
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698