blob: 42d953c00224ddfd50162b45f56aceb686adb8d0 [file] [log] [blame]
// 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_