OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "net/base/network_delegate_impl.h" | 10 #include "net/base/network_delegate_impl.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class ShellNetworkDelegate : public net::NetworkDelegateImpl { | 14 class ShellNetworkDelegate : public net::NetworkDelegateImpl { |
15 public: | 15 public: |
16 ShellNetworkDelegate(); | 16 ShellNetworkDelegate(); |
17 ~ShellNetworkDelegate() override; | 17 ~ShellNetworkDelegate() override; |
18 | 18 |
19 static void SetAcceptAllCookies(bool accept); | 19 static void SetAcceptAllCookies(bool accept); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const base::FilePath& path) const override; | 54 const base::FilePath& path) const override; |
55 bool OnAreExperimentalCookieFeaturesEnabled() const override; | 55 bool OnAreExperimentalCookieFeaturesEnabled() const override; |
56 bool OnAreStrictSecureCookiesEnabled() const override; | 56 bool OnAreStrictSecureCookiesEnabled() const override; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); | 58 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace content | 61 } // namespace content |
62 | 62 |
63 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ | 63 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
OLD | NEW |