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_SSL_CONFIG_SERVICE_MAC_H_ | 5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ |
6 #define NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ | 6 #define NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time.h" |
9 #include "net/base/ssl_config_service.h" | 9 #include "net/base/ssl_config_service.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
(...skipping 29 matching lines...) Expand all Loading... |
41 private: | 41 private: |
42 virtual ~SSLConfigServiceMac() {} | 42 virtual ~SSLConfigServiceMac() {} |
43 | 43 |
44 void UpdateConfig(base::TimeTicks now); | 44 void UpdateConfig(base::TimeTicks now); |
45 | 45 |
46 // We store the system SSL config and the time that we fetched it. | 46 // We store the system SSL config and the time that we fetched it. |
47 SSLConfig config_info_; | 47 SSLConfig config_info_; |
48 base::TimeTicks config_time_; | 48 base::TimeTicks config_time_; |
49 bool ever_updated_; | 49 bool ever_updated_; |
50 | 50 |
51 DISALLOW_EVIL_CONSTRUCTORS(SSLConfigServiceMac); | 51 DISALLOW_COPY_AND_ASSIGN(SSLConfigServiceMac); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace net | 54 } // namespace net |
55 | 55 |
56 #endif // NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ | 56 #endif // NET_BASE_SSL_CONFIG_SERVICE_MAC_H_ |
OLD | NEW |