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

Side by Side Diff: net/ssl/server_bound_cert_service.h

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization Created 7 years, 2 months 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
« no previous file with comments | « net/http/http_server_properties_impl.cc ('k') | net/ssl/server_bound_cert_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SSL_SERVER_BOUND_CERT_SERVICE_H_ 5 #ifndef NET_SSL_SERVER_BOUND_CERT_SERVICE_H_
6 #define NET_SSL_SERVER_BOUND_CERT_SERVICE_H_ 6 #define NET_SSL_SERVER_BOUND_CERT_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 bool create_if_missing, 190 bool create_if_missing,
191 const CompletionCallback& callback, 191 const CompletionCallback& callback,
192 RequestHandle* out_req); 192 RequestHandle* out_req);
193 193
194 scoped_ptr<ServerBoundCertStore> server_bound_cert_store_; 194 scoped_ptr<ServerBoundCertStore> server_bound_cert_store_;
195 scoped_refptr<base::TaskRunner> task_runner_; 195 scoped_refptr<base::TaskRunner> task_runner_;
196 196
197 // inflight_ maps from a server to an active generation which is taking 197 // inflight_ maps from a server to an active generation which is taking
198 // place. 198 // place.
199 std::map<std::string, ServerBoundCertServiceJob*> inflight_; 199 std::map<std::string, ServerBoundCertServiceJob*> inflight_;
200 base::WeakPtrFactory<ServerBoundCertService> weak_ptr_factory_;
201 200
202 uint64 requests_; 201 uint64 requests_;
203 uint64 cert_store_hits_; 202 uint64 cert_store_hits_;
204 uint64 inflight_joins_; 203 uint64 inflight_joins_;
205 uint64 workers_created_; 204 uint64 workers_created_;
206 205
207 bool is_system_time_valid_; 206 bool is_system_time_valid_;
208 207
208 base::WeakPtrFactory<ServerBoundCertService> weak_ptr_factory_;
209
209 DISALLOW_COPY_AND_ASSIGN(ServerBoundCertService); 210 DISALLOW_COPY_AND_ASSIGN(ServerBoundCertService);
210 }; 211 };
211 212
212 } // namespace net 213 } // namespace net
213 214
214 #endif // NET_SSL_SERVER_BOUND_CERT_SERVICE_H_ 215 #endif // NET_SSL_SERVER_BOUND_CERT_SERVICE_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_impl.cc ('k') | net/ssl/server_bound_cert_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698