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

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

Issue 3836005: Move pe_image and registry from base to base/win and use the namespace. It re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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/base/platform_mime_util_win.cc ('k') | net/proxy/proxy_config_service_win.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) 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/registry.h" 7 #include "base/win/registry.h"
8 8
9 using base::TimeDelta; 9 using base::TimeDelta;
10 using base::TimeTicks; 10 using base::TimeTicks;
11 using base::win::RegKey;
11 12
12 namespace net { 13 namespace net {
13 14
14 static const int kConfigUpdateInterval = 10; // seconds 15 static const int kConfigUpdateInterval = 10; // seconds
15 16
16 static const wchar_t kInternetSettingsSubKeyName[] = 17 static const wchar_t kInternetSettingsSubKeyName[] =
17 L"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"; 18 L"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings";
18 19
19 static const wchar_t kRevocationValueName[] = L"CertificateRevocation"; 20 static const wchar_t kRevocationValueName[] = L"CertificateRevocation";
20 21
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) { 125 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) {
125 SSLConfig orig_config = config_info_; 126 SSLConfig orig_config = config_info_;
126 GetSSLConfigNow(&config_info_); 127 GetSSLConfigNow(&config_info_);
127 if (ever_updated_) 128 if (ever_updated_)
128 ProcessConfigUpdate(orig_config, config_info_); 129 ProcessConfigUpdate(orig_config, config_info_);
129 config_time_ = now; 130 config_time_ = now;
130 ever_updated_ = true; 131 ever_updated_ = true;
131 } 132 }
132 133
133 } // namespace net 134 } // namespace net
OLDNEW
« no previous file with comments | « net/base/platform_mime_util_win.cc ('k') | net/proxy/proxy_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698