| 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..c1294c723101a5a09ff712cfd98ab473b3542db1 100644
|
| --- a/components/safe_browsing_db/v4_store.h
|
| +++ b/components/safe_browsing_db/v4_store.h
|
| @@ -5,9 +5,26 @@
|
| #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:
|
| + // The |task_runner| is used to ensure that the operations in this file are
|
| + // performed on the correct thread. |store_path| specifies the location on
|
| + // disk for this file.
|
| + 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
|
|
|