naiveproxy/content/common/histogram_fetcher.mojom

18 lines
676 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
// 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);
};