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

Side by Side Diff: net/tools/ct_mapper/mapper.h

Issue 1238413004: Framework for iterating over certificates in CT database from Chromium code. (not for review) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make samples page work Created 3 years, 6 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
« no previous file with comments | « net/tools/ct_mapper/main.js ('k') | net/tools/ct_mapper/mapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_TOOLS_CT_MAPPER_MAPPER_H_
6 #define NET_TOOLS_CT_MAPPER_MAPPER_H_
7
8 #include <stddef.h>
9 #include "base/time/time.h"
10
11 namespace net {
12
13 class EntryReader;
14 class VisitorFactory;
15 class Metrics;
16
17 struct MapperOptions {
18 // Initializes with default values.
19 MapperOptions();
20
21 size_t num_samples_per_bucket;
22 size_t num_threads;
23 size_t chunk_size;
24 size_t max_pending_chunks;
25 base::TimeDelta max_elapsed_time;
26 };
27
28 size_t ForEachEntry(EntryReader* reader,
29 VisitorFactory* visitor_factory,
30 const MapperOptions& options,
31 Metrics* metrics);
32
33 } // namespace net
34
35 #endif // NET_TOOLS_CT_MAPPER_MAPPER_H_
OLDNEW
« no previous file with comments | « net/tools/ct_mapper/main.js ('k') | net/tools/ct_mapper/mapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698