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

Side by Side Diff: third_party/WebKit/Source/platform/testing/HistogramTester.h

Issue 2796283005: Adding UseCounter specific for extensions (Closed)
Patch Set: Fix compile err Created 3 years, 7 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
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 HistogramTester_h 5 #ifndef HistogramTester_h
6 #define HistogramTester_h 6 #define HistogramTester_h
7 7
8 #include "platform/Histogram.h" 8 #include "platform/Histogram.h"
9 #include <memory> 9 #include <memory>
10 10
(...skipping 10 matching lines...) Expand all
21 ~HistogramTester(); 21 ~HistogramTester();
22 22
23 void ExpectUniqueSample(const std::string& name, 23 void ExpectUniqueSample(const std::string& name,
24 base::HistogramBase::Sample, 24 base::HistogramBase::Sample,
25 base::HistogramBase::Count) const; 25 base::HistogramBase::Count) const;
26 void ExpectBucketCount(const std::string& name, 26 void ExpectBucketCount(const std::string& name,
27 base::HistogramBase::Sample, 27 base::HistogramBase::Sample,
28 base::HistogramBase::Count) const; 28 base::HistogramBase::Count) const;
29 void ExpectTotalCount(const std::string& name, 29 void ExpectTotalCount(const std::string& name,
30 base::HistogramBase::Count) const; 30 base::HistogramBase::Count) const;
31 base::HistogramBase::Count GetBucketCount(const std::string& name,
32 base::HistogramBase::Sample) const;
31 33
32 private: 34 private:
33 std::unique_ptr<base::HistogramTester> histogram_tester_; 35 std::unique_ptr<base::HistogramTester> histogram_tester_;
34 }; 36 };
35 37
36 } // namespace blink 38 } // namespace blink
37 39
38 #endif // HistogramTester_h 40 #endif // HistogramTester_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698