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

Unified Diff: net/dns/host_resolver.cc

Issue 1898033006: DNS: Add stubs for persisting data across restarts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and fix bad merge. Created 4 years, 5 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: net/dns/host_resolver.cc
diff --git a/net/dns/host_resolver.cc b/net/dns/host_resolver.cc
index be393b047e433495cd453cbe02c6c7bb55bbfcb9..02ca2cae844b88e825022e1a40d5189e2446c412 100644
--- a/net/dns/host_resolver.cc
+++ b/net/dns/host_resolver.cc
@@ -117,6 +117,10 @@ std::unique_ptr<base::Value> HostResolver::GetDnsConfigAsValue() const {
return nullptr;
}
+void HostResolver::InitializePersistence(
Charlie Harrison 2016/07/26 13:49:42 Can you document this?
Julia Tuttle 2016/07/26 21:10:13 Done.
+ const PersistCallback& persist_callback,
+ std::unique_ptr<const base::Value> old_data) {}
+
// static
std::unique_ptr<HostResolver> HostResolver::CreateSystemResolver(
const Options& options,

Powered by Google App Engine
This is Rietveld 408576698