Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: net/http/disk_cache_based_ssl_host_info.h

Issue 8670009: SSL Host info: Make sure that we can update certificate chains in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: I Really hate this warning! Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // DoSetDone is the terminal state of the write operation. 102 // DoSetDone is the terminal state of the write operation.
103 int DoSetDone(); 103 int DoSetDone();
104 104
105 // IsCallbackPending returns true if we have a pending callback. 105 // IsCallbackPending returns true if we have a pending callback.
106 bool IsCallbackPending() const; 106 bool IsCallbackPending() const;
107 107
108 base::WeakPtrFactory<DiskCacheBasedSSLHostInfo> weak_ptr_factory_; 108 base::WeakPtrFactory<DiskCacheBasedSSLHostInfo> weak_ptr_factory_;
109 CallbackImpl* callback_; 109 CallbackImpl* callback_;
110 State state_; 110 State state_;
111 bool ready_; 111 bool ready_;
112 bool found_entry_;
wtc 2011/11/30 00:22:09 The way you use found_entry_ is quite tricky. It
112 std::string new_data_; 113 std::string new_data_;
113 const std::string hostname_; 114 const std::string hostname_;
114 HttpCache* const http_cache_; 115 HttpCache* const http_cache_;
115 disk_cache::Backend* backend_; 116 disk_cache::Backend* backend_;
116 disk_cache::Entry* entry_; 117 disk_cache::Entry* entry_;
117 OldCompletionCallback* user_callback_; 118 OldCompletionCallback* user_callback_;
118 scoped_refptr<IOBuffer> read_buffer_; 119 scoped_refptr<IOBuffer> read_buffer_;
119 scoped_refptr<IOBuffer> write_buffer_; 120 scoped_refptr<IOBuffer> write_buffer_;
120 std::string data_; 121 std::string data_;
121 }; 122 };
122 123
123 } // namespace net 124 } // namespace net
124 125
125 #endif // NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H_ 126 #endif // NET_HTTP_DISK_CACHE_BASED_SSL_HOST_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/disk_cache_based_ssl_host_info.cc » ('j') | net/http/disk_cache_based_ssl_host_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698