| Index: components/safe_browsing_db/v4_local_database_manager.h
|
| diff --git a/components/safe_browsing_db/v4_local_database_manager.h b/components/safe_browsing_db/v4_local_database_manager.h
|
| index 2fba95086dea2ecb022f936aa8419ca858978c80..ac8900c8822da87700609303c6cbb442978a57ff 100644
|
| --- a/components/safe_browsing_db/v4_local_database_manager.h
|
| +++ b/components/safe_browsing_db/v4_local_database_manager.h
|
| @@ -27,7 +27,7 @@
|
| public:
|
| // Construct V4LocalDatabaseManager.
|
| // Must be initialized by calling StartOnIOThread() before using.
|
| - V4LocalDatabaseManager(const base::FilePath& base_path);
|
| + V4LocalDatabaseManager();
|
|
|
| //
|
| // SafeBrowsingDatabaseManager implementation
|
| @@ -41,8 +41,9 @@
|
| bool IsDownloadProtectionEnabled() const override;
|
| bool CheckBrowseUrl(const GURL& url, Client* client) override;
|
| void CancelCheck(Client* client) override;
|
| - void StartOnIOThread(net::URLRequestContextGetter* request_context_getter,
|
| - const V4ProtocolConfig& config) override;
|
| + void StartOnIOThread(
|
| + net::URLRequestContextGetter* request_context_getter,
|
| + const V4ProtocolConfig& config) override;
|
| void StopOnIOThread(bool shutdown) override;
|
| bool CheckDownloadUrl(const std::vector<GURL>& url_chain,
|
| Client* client) override;
|
| @@ -65,20 +66,6 @@
|
| // successfully.
|
| void UpdateRequestCompleted(const std::vector<ListUpdateResponse>& responses);
|
|
|
| - void SetupUpdateProtocolManager(
|
| - net::URLRequestContextGetter* request_context_getter,
|
| - const V4ProtocolConfig& config);
|
| -
|
| - void SetupDatabase();
|
| -
|
| - void DatabaseReady(std::unique_ptr<V4Database> v4_database);
|
| -
|
| - void OnCloseDatabase();
|
| -
|
| - // The base directory under which to create the files that contain hashes.
|
| - const base::FilePath base_path_;
|
| -
|
| - // Whether the service is running.
|
| bool enabled_;
|
|
|
| // Stores the current status of the lists to download from the SafeBrowsing
|
| @@ -91,11 +78,7 @@
|
| std::unique_ptr<V4UpdateProtocolManager> v4_update_protocol_manager_;
|
|
|
| // The database that manages the stores containing the hash prefix updates.
|
| - // All writes to this variable must happen on the IO thread only.
|
| std::unique_ptr<V4Database> v4_database_;
|
| -
|
| - // The sequenced task runner for running safe browsing database operations.
|
| - scoped_refptr<base::SequencedTaskRunner> task_runner_;
|
|
|
| friend class base::RefCountedThreadSafe<V4LocalDatabaseManager>;
|
| DISALLOW_COPY_AND_ASSIGN(V4LocalDatabaseManager);
|
|
|