| OLD | NEW |
| 1 // Copyright (c) 2009 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_BASE_HTTPS_PROBER_H_ | 5 #ifndef NET_BASE_HTTPS_PROBER_H_ |
| 6 #define NET_BASE_HTTPS_PROBER_H_ | 6 #define NET_BASE_HTTPS_PROBER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 void Success(URLRequest* request); | 61 void Success(URLRequest* request); |
| 62 void Failure(URLRequest* request); | 62 void Failure(URLRequest* request); |
| 63 void DoCallback(URLRequest* request, bool result); | 63 void DoCallback(URLRequest* request, bool result); |
| 64 | 64 |
| 65 std::map<std::string, HTTPSProberDelegate*> inflight_probes_; | 65 std::map<std::string, HTTPSProberDelegate*> inflight_probes_; |
| 66 std::set<std::string> probed_; | 66 std::set<std::string> probed_; |
| 67 | 67 |
| 68 friend struct DefaultSingletonTraits<HTTPSProber>; | 68 friend struct DefaultSingletonTraits<HTTPSProber>; |
| 69 DISALLOW_EVIL_CONSTRUCTORS(HTTPSProber); | 69 DISALLOW_COPY_AND_ASSIGN(HTTPSProber); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace net | 72 } // namespace net |
| 73 #endif | 73 #endif |
| OLD | NEW |