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

Unified Diff: components/data_reduction_proxy/core/browser/data_store.h

Issue 2810393002: Fix memory issues with the Data Reduction proxy LevelDB (Closed)
Patch Set: ryan comments Created 3 years, 8 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/data_reduction_proxy/core/browser/data_store.h
diff --git a/components/data_reduction_proxy/core/browser/data_store.h b/components/data_reduction_proxy/core/browser/data_store.h
index 1c254c2f137d4a304d74d4836a4bb7bdd2be8be2..f275da781e2c448e4f9f09f74b72584ec766b783 100644
--- a/components/data_reduction_proxy/core/browser/data_store.h
+++ b/components/data_reduction_proxy/core/browser/data_store.h
@@ -36,6 +36,9 @@ class DataStore {
virtual Status Delete(base::StringPiece key);
+ // Deletes the LevelDB and recreates it.
+ virtual Status RecreateDB();
+
private:
DISALLOW_COPY_AND_ASSIGN(DataStore);
};

Powered by Google App Engine
This is Rietveld 408576698