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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.h

Issue 2062013002: Fetch incremental updates. Store new state in V4Store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git fetch && git pull Created 4 years, 6 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_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 e1ccb77edfd143b15ae3994f8404998d573db151..c74b28e9a20531f8a825ebd86fc5ab71ecc59316 100644
--- a/components/safe_browsing_db/v4_local_database_manager.h
+++ b/components/safe_browsing_db/v4_local_database_manager.h
@@ -72,7 +72,10 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager {
void DatabaseReady(std::unique_ptr<V4Database> v4_database);
- void OnCloseDatabase();
+ StoreFileNameMap CreateStoreFileNameMap();
+
+ // Called when the database has been updated and schedules the next update.
+ void DatabaseUpdated();
// The base directory under which to create the files that contain hashes.
const base::FilePath base_path_;

Powered by Google App Engine
This is Rietveld 408576698