| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual bool OnCanSetCookie(const net::URLRequest& request, | 52 virtual 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 virtual bool OnCanAccessFile(const net::URLRequest& request, | 55 virtual bool OnCanAccessFile(const net::URLRequest& request, |
| 56 const FilePath& path) const OVERRIDE; | 56 const FilePath& path) const OVERRIDE; |
| 57 virtual bool OnCanThrottleRequest( | 57 virtual bool OnCanThrottleRequest( |
| 58 const net::URLRequest& request) const OVERRIDE; | 58 const net::URLRequest& request) const OVERRIDE; |
| 59 virtual int OnBeforeSocketStreamConnect( | 59 virtual int OnBeforeSocketStreamConnect( |
| 60 net::SocketStream* stream, | 60 net::SocketStream* stream, |
| 61 const net::CompletionCallback& callback) OVERRIDE; | 61 const net::CompletionCallback& callback) OVERRIDE; |
| 62 virtual void OnCacheWaitStateChange(const net::URLRequest& request, |
| 63 CacheWaitState state) OVERRIDE; |
| 62 | 64 |
| 63 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); | 65 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 } // namespace content | 68 } // namespace content |
| 67 | 69 |
| 68 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ | 70 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ |
| OLD | NEW |