| Index: net/dns/dns_client.h
|
| diff --git a/net/dns/dns_client.h b/net/dns/dns_client.h
|
| index bb63aaa541190a1a298302ab2944ec3aaa7e5007..2277d3c2d0ae548dd83663bee8344af136831a34 100644
|
| --- a/net/dns/dns_client.h
|
| +++ b/net/dns/dns_client.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/values.h"
|
| #include "net/base/net_export.h"
|
| #include "net/base/rand_callback.h"
|
|
|
| @@ -38,6 +39,13 @@ class NET_EXPORT DnsClient {
|
| // Returns NULL if the current config is not valid.
|
| virtual AddressSorter* GetAddressSorter() = 0;
|
|
|
| + // Does nothing if the current config is not valid.
|
| + virtual void ApplyPersistentData(const base::Value& data);
|
| +
|
| + // Returns std::unique_ptr<const Value>(NULL) if the current config is not
|
| + // valid.
|
| + virtual std::unique_ptr<const base::Value> GetPersistentData() const;
|
| +
|
| // Creates default client.
|
| static std::unique_ptr<DnsClient> CreateClient(NetLog* net_log);
|
|
|
|
|