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

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

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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.h" 5 #include "net/base/ssl_config_service.h"
6 6
7 #include "base/registry.h" 7 #include "base/registry.h"
8 8
9 using base::TimeDelta;
10 using base::TimeTicks;
11
9 namespace net { 12 namespace net {
10 13
11 static const int kConfigUpdateInterval = 10; // seconds 14 static const int kConfigUpdateInterval = 10; // seconds
12 15
13 static const wchar_t kInternetSettingsSubKeyName[] = 16 static const wchar_t kInternetSettingsSubKeyName[] =
14 L"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"; 17 L"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings";
15 18
16 static const wchar_t kRevocationValueName[] = L"CertificateRevocation"; 19 static const wchar_t kRevocationValueName[] = L"CertificateRevocation";
17 20
18 static const wchar_t kProtocolsValueName[] = L"SecureProtocols"; 21 static const wchar_t kProtocolsValueName[] = L"SecureProtocols";
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 internet_settings.WriteValue(kProtocolsValueName, value); 99 internet_settings.WriteValue(kProtocolsValueName, value);
97 } 100 }
98 101
99 void SSLConfigService::UpdateConfig(TimeTicks now) { 102 void SSLConfigService::UpdateConfig(TimeTicks now) {
100 GetSSLConfigNow(&config_info_); 103 GetSSLConfigNow(&config_info_);
101 config_time_ = now; 104 config_time_ = now;
102 } 105 }
103 106
104 } // namespace net 107 } // namespace net
105 108
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698