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

Side by Side Diff: chrome/browser/net/crl_set_fetcher.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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/browser/net/connection_tester_unittest.cc ('k') | chrome/browser/net/preconnect.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/net/crl_set_fetcher.h" 5 #include "chrome/browser/net/crl_set_fetcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "chrome/browser/component_updater/component_updater_service.h" 13 #include "chrome/browser/component_updater/component_updater_service.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/chrome_constants.h" 15 #include "chrome/common/chrome_constants.h"
16 #include "chrome/common/chrome_paths.h" 16 #include "chrome/common/chrome_paths.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "net/base/crl_set.h" 18 #include "net/base/crl_set.h"
19 #include "net/base/ssl_config_service.h" 19 #include "net/ssl/ssl_config_service.h"
20 20
21 using content::BrowserThread; 21 using content::BrowserThread;
22 22
23 CRLSetFetcher::CRLSetFetcher() : cus_(NULL) {} 23 CRLSetFetcher::CRLSetFetcher() : cus_(NULL) {}
24 24
25 bool CRLSetFetcher::GetCRLSetFilePath(base::FilePath* path) const { 25 bool CRLSetFetcher::GetCRLSetFilePath(base::FilePath* path) const {
26 bool ok = PathService::Get(chrome::DIR_USER_DATA, path); 26 bool ok = PathService::Get(chrome::DIR_USER_DATA, path);
27 if (!ok) { 27 if (!ok) {
28 NOTREACHED(); 28 NOTREACHED();
29 return false; 29 return false;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 BrowserThread::IO, FROM_HERE, 199 BrowserThread::IO, FROM_HERE,
200 base::Bind( 200 base::Bind(
201 &CRLSetFetcher::SetCRLSetIfNewer, this, crl_set_))) { 201 &CRLSetFetcher::SetCRLSetIfNewer, this, crl_set_))) {
202 NOTREACHED(); 202 NOTREACHED();
203 } 203 }
204 204
205 return true; 205 return true;
206 } 206 }
207 207
208 CRLSetFetcher::~CRLSetFetcher() {} 208 CRLSetFetcher::~CRLSetFetcher() {}
OLDNEW
« no previous file with comments | « chrome/browser/net/connection_tester_unittest.cc ('k') | chrome/browser/net/preconnect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698