blob: 42d953c00224ddfd50162b45f56aceb686adb8d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_UKM_DEBUG_UKM_DEBUG_DATA_EXTRACTOR_H_
#define COMPONENTS_UKM_DEBUG_UKM_DEBUG_DATA_EXTRACTOR_H_
#include <string>
#include "base/macros.h"
namespace ukm {
class UkmService;
namespace debug {
// Extracts UKM data as an HTML page for debugging purposes.
class UkmDebugDataExtractor {
public:
UkmDebugDataExtractor();
~UkmDebugDataExtractor();
// Returns UKM data as an HTML page.
static std::string GetHTMLData(UkmService* ukm_service);
private:
DISALLOW_COPY_AND_ASSIGN(UkmDebugDataExtractor);
};
} // namespace debug
} // namespace ukm
#endif // COMPONENTS_UKM_DEBUG_UKM_DEBUG_DATA_EXTRACTOR_H_
|