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

Side by Side Diff: net/base/ssl_config_service_win.cc

Issue 6715024: fix spelling of comments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 | « chrome/common/chrome_switches.cc ('k') | ppapi/c/ppp_instance.h » ('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) 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 #include "net/base/ssl_config_service_win.h" 5 #include "net/base/ssl_config_service_win.h"
6 6
7 #include "base/threading/thread_restrictions.h" 7 #include "base/threading/thread_restrictions.h"
8 #include "base/win/registry.h" 8 #include "base/win/registry.h"
9 9
10 using base::TimeDelta; 10 using base::TimeDelta;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 config->rev_checking_enabled = (revocation != 0); 76 config->rev_checking_enabled = (revocation != 0);
77 config->ssl3_enabled = ((protocols & SSL3) != 0); 77 config->ssl3_enabled = ((protocols & SSL3) != 0);
78 config->tls1_enabled = ((protocols & TLS1) != 0); 78 config->tls1_enabled = ((protocols & TLS1) != 0);
79 SSLConfigService::SetSSLConfigFlags(config); 79 SSLConfigService::SetSSLConfigFlags(config);
80 80
81 // TODO(rsleevi): Possibly respect the registry keys defined in 81 // TODO(rsleevi): Possibly respect the registry keys defined in
82 // http://support.microsoft.com/kb/245030 (pre-Vista) or 82 // http://support.microsoft.com/kb/245030 (pre-Vista) or
83 // http://msdn.microsoft.com/en-us/library/bb870930(VS.85).aspx (post-Vista). 83 // http://msdn.microsoft.com/en-us/library/bb870930(VS.85).aspx (post-Vista).
84 // Currently, these values are respected implicitly when using 84 // Currently, these values are respected implicitly when using
85 // SSLClientSocketWin, but they do not propogate to SSLClientSocketNSS 85 // SSLClientSocketWin, but they do not propagate to SSLClientSocketNSS
86 // because we're not currently translating the keys. 86 // because we're not currently translating the keys.
87 87
88 return true; 88 return true;
89 } 89 }
90 90
91 // static 91 // static
92 void SSLConfigServiceWin::SetRevCheckingEnabled(bool enabled) { 92 void SSLConfigServiceWin::SetRevCheckingEnabled(bool enabled) {
93 // This registry access goes to disk and will slow down the IO thread. 93 // This registry access goes to disk and will slow down the IO thread.
94 // http://crbug.com/61455 94 // http://crbug.com/61455
95 base::ThreadRestrictions::ScopedAllowIO allow_io; 95 base::ThreadRestrictions::ScopedAllowIO allow_io;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) { 133 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) {
134 SSLConfig orig_config = config_info_; 134 SSLConfig orig_config = config_info_;
135 GetSSLConfigNow(&config_info_); 135 GetSSLConfigNow(&config_info_);
136 if (ever_updated_) 136 if (ever_updated_)
137 ProcessConfigUpdate(orig_config, config_info_); 137 ProcessConfigUpdate(orig_config, config_info_);
138 config_time_ = now; 138 config_time_ = now;
139 ever_updated_ = true; 139 ever_updated_ = true;
140 } 140 }
141 141
142 } // namespace net 142 } // namespace net
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698