Index: chrome/browser/net/chrome_network_delegate.h |
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h |
index 85bfd0fbb063343a161559080a71922189d148c7..edcc9d8420e2c42fc8025b1018ee4ba863ec67c3 100644 |
--- a/chrome/browser/net/chrome_network_delegate.h |
+++ b/chrome/browser/net/chrome_network_delegate.h |
@@ -11,6 +11,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/ref_counted.h" |
#include "base/values.h" |
+#include "chrome/browser/net/client_hints.h" |
#include "net/base/network_delegate.h" |
class CookieSettings; |
@@ -90,6 +91,9 @@ class ChromeNetworkDelegate : public net::NetworkDelegate { |
force_google_safe_search_ = force_google_safe_search; |
} |
+ // Adds the Client Hints header to HTTP requests. |
+ void set_enable_client_hints(); |
+ |
// Causes |OnCanThrottleRequest| to always return false, for all |
// instances of this object. |
static void NeverThrottleRequests(); |
@@ -203,6 +207,8 @@ class ChromeNetworkDelegate : public net::NetworkDelegate { |
// Total original size of all content before it was transferred. |
int64 original_content_length_; |
+ scoped_ptr<ClientHints> client_hints_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
}; |