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 NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 5 #ifndef NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
6 #define NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 6 #define NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
| 12 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
11 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
12 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
13 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
14 #include "net/disk_cache/disk_cache.h" | 17 #include "net/disk_cache/disk_cache.h" |
15 | 18 |
16 namespace net { | 19 namespace net { |
17 | 20 |
18 class URLRequestContext; | 21 class URLRequestContext; |
19 | 22 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 State next_state_; | 114 State next_state_; |
112 | 115 |
113 base::WeakPtrFactory<ViewCacheHelper> weak_factory_; | 116 base::WeakPtrFactory<ViewCacheHelper> weak_factory_; |
114 | 117 |
115 DISALLOW_COPY_AND_ASSIGN(ViewCacheHelper); | 118 DISALLOW_COPY_AND_ASSIGN(ViewCacheHelper); |
116 }; | 119 }; |
117 | 120 |
118 } // namespace net. | 121 } // namespace net. |
119 | 122 |
120 #endif // NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 123 #endif // NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
OLD | NEW |