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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/network_config_watcher_mac.cc ('k') | net/disk_cache/backend_impl.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/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;
11 using base::TimeTicks; 11 using base::TimeTicks;
12 using base::win::RegKey; 12 using base::win::RegKey;
13 13
14 namespace net { 14 namespace net {
15 15
16 static const int kConfigUpdateInterval = 10; // seconds 16 static const int kConfigUpdateInterval = 10; // seconds
17 17
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) { 135 void SSLConfigServiceWin::UpdateConfig(TimeTicks now) {
136 SSLConfig orig_config = config_info_; 136 SSLConfig orig_config = config_info_;
137 GetSSLConfigNow(&config_info_); 137 GetSSLConfigNow(&config_info_);
138 if (ever_updated_) 138 if (ever_updated_)
139 ProcessConfigUpdate(orig_config, config_info_); 139 ProcessConfigUpdate(orig_config, config_info_);
140 config_time_ = now; 140 config_time_ = now;
141 ever_updated_ = true; 141 ever_updated_ = true;
142 } 142 }
143 143
144 } // namespace net 144 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_config_watcher_mac.cc ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698