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

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: Nit: Use base::SStringPrintf instead of string concat 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..7797f6990d835812b9ceccc6db1177e4102c29a6 100644
--- a/components/safe_browsing_db/v4_local_database_manager.h
+++ b/components/safe_browsing_db/v4_local_database_manager.h
@@ -72,7 +72,11 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager {
void DatabaseReady(std::unique_ptr<V4Database> v4_database);
- void OnCloseDatabase();
+ void PopulateStoreFileNameMap(StoreFileNameMap* store_file_name_map);
+
+ // At the end of ApplyUpdate method, the V4Database class calls back
+ // DatabaseUpdated which schedules the next update request.
+ 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