| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHELL_NETWORK_DELEGATE_H_ | 5 #ifndef CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ |
| 6 #define CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ | 6 #define CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 net::URLRequest* request, | 46 net::URLRequest* request, |
| 47 const net::AuthChallengeInfo& auth_info, | 47 const net::AuthChallengeInfo& auth_info, |
| 48 const AuthCallback& callback, | 48 const AuthCallback& callback, |
| 49 net::AuthCredentials* credentials) OVERRIDE; | 49 net::AuthCredentials* credentials) OVERRIDE; |
| 50 virtual bool CanGetCookies( | 50 virtual bool CanGetCookies( |
| 51 const net::URLRequest* request, | 51 const net::URLRequest* request, |
| 52 const net::CookieList& cookie_list) OVERRIDE; | 52 const net::CookieList& cookie_list) OVERRIDE; |
| 53 virtual bool CanSetCookie(const net::URLRequest* request, | 53 virtual bool CanSetCookie(const net::URLRequest* request, |
| 54 const std::string& cookie_line, | 54 const std::string& cookie_line, |
| 55 net::CookieOptions* options) OVERRIDE; | 55 net::CookieOptions* options) OVERRIDE; |
| 56 virtual bool CanAccessFile(const net::URLRequest* request, |
| 57 const FilePath& path) OVERRIDE; |
| 56 | 58 |
| 57 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); | 59 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); |
| 58 }; | 60 }; |
| 59 | 61 |
| 60 } // namespace content | 62 } // namespace content |
| 61 | 63 |
| 62 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ | 64 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ |
| OLD | NEW |