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

Side by Side Diff: ios/chrome/browser/net/crl_set_fetcher.h

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ios/chrome/browser/net/cookie_util.mm ('k') | ios/chrome/browser/net/crl_set_fetcher.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_ 5 #ifndef IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
6 #define IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_ 6 #define IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
12 #include "base/macros.h" 14 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 #include "components/update_client/update_client.h" 16 #include "components/update_client/update_client.h"
15 17
16 namespace base { 18 namespace base {
17 class DictionaryValue; 19 class DictionaryValue;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // LoadFromDisk runs on the FILE thread and attempts to load a CRL set 66 // LoadFromDisk runs on the FILE thread and attempts to load a CRL set
65 // from |load_from|. 67 // from |load_from|.
66 void LoadFromDisk(base::FilePath load_from, 68 void LoadFromDisk(base::FilePath load_from,
67 scoped_refptr<net::CRLSet>* out_crl_set); 69 scoped_refptr<net::CRLSet>* out_crl_set);
68 70
69 // SetCRLSetIfNewer runs on the IO thread and installs a CRL set 71 // SetCRLSetIfNewer runs on the IO thread and installs a CRL set
70 // as the global CRL set if it's newer than the existing one. 72 // as the global CRL set if it's newer than the existing one.
71 void SetCRLSetIfNewer(scoped_refptr<net::CRLSet> crl_set); 73 void SetCRLSetIfNewer(scoped_refptr<net::CRLSet> crl_set);
72 74
73 // RegisterComponent registers this object as a component updater. 75 // RegisterComponent registers this object as a component updater.
74 void RegisterComponent(uint32 sequence_of_loaded_crl); 76 void RegisterComponent(uint32_t sequence_of_loaded_crl);
75 77
76 // DoDeleteFromDisk runs on the FILE thread and removes the CRLSet file from 78 // DoDeleteFromDisk runs on the FILE thread and removes the CRLSet file from
77 // the disk. 79 // the disk.
78 void DoDeleteFromDisk(); 80 void DoDeleteFromDisk();
79 81
80 component_updater::ComponentUpdateService* cus_; 82 component_updater::ComponentUpdateService* cus_;
81 83
82 // Path where the CRL file is stored. 84 // Path where the CRL file is stored.
83 base::FilePath crl_path_; 85 base::FilePath crl_path_;
84 86
85 // We keep a pointer to the current CRLSet for use on the FILE thread when 87 // We keep a pointer to the current CRLSet for use on the FILE thread when
86 // applying delta updates. 88 // applying delta updates.
87 scoped_refptr<net::CRLSet> crl_set_; 89 scoped_refptr<net::CRLSet> crl_set_;
88 90
89 DISALLOW_COPY_AND_ASSIGN(CRLSetFetcher); 91 DISALLOW_COPY_AND_ASSIGN(CRLSetFetcher);
90 }; 92 };
91 93
92 #endif // IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_ 94 #endif // IOS_CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/cookie_util.mm ('k') | ios/chrome/browser/net/crl_set_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698