blob: 36b47e5a7a68165067f3c9b4a3daff3330f8cf94 [file] [log] [blame]
// Copyright 2017 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.
#include <memory>
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/mojom/service.mojom.h"
namespace metrics {
// Creates a metrics service implementation which records data in the current
// process. In order to capture any UKM data, the current process should have a
// UkmService object created and configured, so this should currently only be
// called in the browser process.
std::unique_ptr<service_manager::Service> CreateMetricsService(
service_manager::mojom::ServiceRequest request);
} // namespace metrics