OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H | 5 #ifndef NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H |
6 #define NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H | 6 #define NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/lock.h" | |
11 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
12 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
13 #include "base/weak_ptr.h" | 12 #include "base/weak_ptr.h" |
14 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
15 #include "net/disk_cache/disk_cache.h" | 14 #include "net/disk_cache/disk_cache.h" |
16 #include "net/socket/ssl_host_info.h" | 15 #include "net/socket/ssl_host_info.h" |
17 | 16 |
18 namespace net { | 17 namespace net { |
19 | 18 |
20 class HttpCache; | 19 class HttpCache; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 disk_cache::Entry* entry_; | 118 disk_cache::Entry* entry_; |
120 CompletionCallback* user_callback_; | 119 CompletionCallback* user_callback_; |
121 scoped_refptr<net::IOBuffer> read_buffer_; | 120 scoped_refptr<net::IOBuffer> read_buffer_; |
122 scoped_refptr<net::IOBuffer> write_buffer_; | 121 scoped_refptr<net::IOBuffer> write_buffer_; |
123 std::string data_; | 122 std::string data_; |
124 }; | 123 }; |
125 | 124 |
126 } // namespace net | 125 } // namespace net |
127 | 126 |
128 #endif // NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H | 127 #endif // NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H |
OLD | NEW |