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

Side by Side Diff: base/metrics/persistent_histogram_allocator.h

Issue 2479683004: base: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration Created 4 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
« no previous file with comments | « base/metrics/histogram_base.h ('k') | base/metrics/persistent_sample_map.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BASE_METRICS_HISTOGRAM_PERSISTENCE_H_ 5 #ifndef BASE_METRICS_HISTOGRAM_PERSISTENCE_H_
6 #define BASE_METRICS_HISTOGRAM_PERSISTENCE_H_ 6 #define BASE_METRICS_HISTOGRAM_PERSISTENCE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/atomicops.h" 11 #include "base/atomicops.h"
12 #include "base/base_export.h" 12 #include "base/base_export.h"
13 #include "base/feature_list.h" 13 #include "base/feature_list.h"
14 #include "base/memory/shared_memory.h" 14 #include "base/memory/shared_memory.h"
15 #include "base/metrics/histogram_base.h" 15 #include "base/metrics/histogram_base.h"
16 #include "base/metrics/persistent_memory_allocator.h" 16 #include "base/metrics/persistent_memory_allocator.h"
17 #include "base/strings/string_piece.h" 17 #include "base/strings/string_piece.h"
18 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
19 19
20 namespace base { 20 namespace base {
21 21
22 class BucketRanges;
22 class FilePath; 23 class FilePath;
23 class PersistentSampleMapRecords; 24 class PersistentSampleMapRecords;
24 class PersistentSparseHistogramDataManager; 25 class PersistentSparseHistogramDataManager;
25 26
26 // Feature definition for enabling histogram persistence. 27 // Feature definition for enabling histogram persistence.
27 BASE_EXPORT extern const Feature kPersistentHistogramsFeature; 28 BASE_EXPORT extern const Feature kPersistentHistogramsFeature;
28 29
29 30
30 // A data manager for sparse histograms so each instance of such doesn't have 31 // A data manager for sparse histograms so each instance of such doesn't have
31 // to separately iterate over the entire memory segment. Though this class 32 // to separately iterate over the entire memory segment. Though this class
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 504
504 // The location to which the data should be persisted. 505 // The location to which the data should be persisted.
505 FilePath persistent_location_; 506 FilePath persistent_location_;
506 507
507 DISALLOW_COPY_AND_ASSIGN(GlobalHistogramAllocator); 508 DISALLOW_COPY_AND_ASSIGN(GlobalHistogramAllocator);
508 }; 509 };
509 510
510 } // namespace base 511 } // namespace base
511 512
512 #endif // BASE_METRICS_HISTOGRAM_PERSISTENCE_H_ 513 #endif // BASE_METRICS_HISTOGRAM_PERSISTENCE_H_
OLDNEW
« no previous file with comments | « base/metrics/histogram_base.h ('k') | base/metrics/persistent_sample_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698