summaryrefslogtreecommitdiff
path: root/chromium/content/common/histogram_fetcher.mojom
blob: 76c0d258b405c3b66ed496ff1fca2820132daf84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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.

module content.mojom;

import "mojo/public/mojom/base/shared_memory.mojom";

interface ChildHistogramFetcherFactory {
  // Creates a ChildHistogram interface that uses shared memory buffer to
  // store histograms that are to be reported by the browser process to UMA.
  CreateFetcher(mojo_base.mojom.WritableSharedMemoryRegion? shared_memory,
                       ChildHistogramFetcher& child_histogram_fetcher);
};

interface ChildHistogramFetcher{
  // Send to all the child processes to send back histogram data.
  GetChildNonPersistentHistogramData() => (array<string> deltas);
};