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

Unified Diff: net/dns/dns_session.h

Issue 1898033006: DNS: Add stubs for persisting data across restarts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: *silently glares at editor, reuploads with proper spacing* 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
« no previous file with comments | « net/dns/dns_client.cc ('k') | net/dns/dns_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_session.h
diff --git a/net/dns/dns_session.h b/net/dns/dns_session.h
index 43228e4c5f1872ecc0af0afdc9431a133c0fb15d..788474a22a04df465c26859e8746dece632b89eb 100644
--- a/net/dns/dns_session.h
+++ b/net/dns/dns_session.h
@@ -110,6 +110,9 @@ class NET_EXPORT_PRIVATE DnsSession
std::unique_ptr<StreamSocket> CreateTCPSocket(unsigned server_index,
const NetLog::Source& source);
+ void ApplyPersistentData(const base::Value& data);
+ std::unique_ptr<const base::Value> GetPersistentData() const;
+
private:
friend class base::RefCounted<DnsSession>;
~DnsSession() override;
« no previous file with comments | « net/dns/dns_client.cc ('k') | net/dns/dns_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698