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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "net/base/network_delegate_impl.h" | 10 #include "net/base/network_delegate_impl.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const AuthCallback& callback, | 48 const AuthCallback& callback, |
49 net::AuthCredentials* credentials) override; | 49 net::AuthCredentials* credentials) override; |
50 bool OnCanGetCookies(const net::URLRequest& request, | 50 bool OnCanGetCookies(const net::URLRequest& request, |
51 const net::CookieList& cookie_list) override; | 51 const net::CookieList& cookie_list) override; |
52 bool OnCanSetCookie(const net::URLRequest& request, | 52 bool OnCanSetCookie(const net::URLRequest& request, |
53 const std::string& cookie_line, | 53 const std::string& cookie_line, |
54 net::CookieOptions* options) override; | 54 net::CookieOptions* options) override; |
55 bool OnCanAccessFile(const net::URLRequest& request, | 55 bool OnCanAccessFile(const net::URLRequest& request, |
56 const base::FilePath& path) const override; | 56 const base::FilePath& path) const override; |
57 bool OnAreExperimentalCookieFeaturesEnabled() const override; | 57 bool OnAreExperimentalCookieFeaturesEnabled() const override; |
58 bool OnAreStrictSecureCookiesEnabled() const override; | |
59 | 58 |
60 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); | 59 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); |
61 }; | 60 }; |
62 | 61 |
63 } // namespace content | 62 } // namespace content |
64 | 63 |
65 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ | 64 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
OLD | NEW |