naiveproxy/content/common/histogram_fetcher.mojom
2018-12-09 21:59:24 -05:00

18 lines
676 B
Plaintext

// 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;
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(handle<shared_buffer>? shm_handle,
ChildHistogramFetcher& child_histogram_fetcher);
};
interface ChildHistogramFetcher{
// Send to all the child processes to send back histogram data.
GetChildNonPersistentHistogramData() => (array<string> deltas);
};