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_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
6 #define CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "net/base/network_delegate.h" | 10 #include "net/base/network_delegate.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class ShellNetworkDelegate : public net::NetworkDelegate { | 14 class ShellNetworkDelegate : public net::NetworkDelegate { |
15 public: | 15 public: |
16 ShellNetworkDelegate(); | 16 ShellNetworkDelegate(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 net::SocketStream* stream, | 61 net::SocketStream* stream, |
62 const net::CompletionCallback& callback) OVERRIDE; | 62 const net::CompletionCallback& callback) OVERRIDE; |
63 virtual void OnRequestWaitStateChange(const net::URLRequest& request, | 63 virtual void OnRequestWaitStateChange(const net::URLRequest& request, |
64 RequestWaitState state) OVERRIDE; | 64 RequestWaitState state) OVERRIDE; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); | 66 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace content | 69 } // namespace content |
70 | 70 |
71 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ | 71 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ |
OLD | NEW |