| 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 e9bf978f1c8b1e0468dc47e4f0e1f881f87e8254..ea5ddbb555ff18ade8204c722928b97e858a1201 100644
|
| --- a/chrome/browser/net/chrome_network_delegate.h
|
| +++ b/chrome/browser/net/chrome_network_delegate.h
|
| @@ -10,9 +10,11 @@
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "net/base/network_delegate.h"
|
|
|
| +class ClientHints;
|
| class CookieSettings;
|
| class ExtensionInfoMap;
|
| class PrefService;
|
| @@ -90,6 +92,9 @@ class ChromeNetworkDelegate : public net::NetworkDelegate {
|
| force_google_safe_search_ = force_google_safe_search;
|
| }
|
|
|
| + // Adds the Client Hints header to HTTP requests.
|
| + void SetEnableClientHints();
|
| +
|
| // Causes |OnCanThrottleRequest| to always return false, for all
|
| // instances of this object.
|
| static void NeverThrottleRequests();
|
| @@ -207,6 +212,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);
|
| };
|
|
|
|
|