Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8354)

Unified Diff: chrome/common/field_trial_recorder.mojom

Issue 2453313004: Convert FieldTrialActivated to use mojo. (Closed)
Patch Set: Convert FieldTrialActivated to use mojo. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/field_trial_recorder.mojom
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl b/chrome/common/field_trial_recorder.mojom
similarity index 53%
copy from third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
copy to chrome/common/field_trial_recorder.mojom
index 0e774ba93ad3e1c58543b915a9f7a154bf16a9d9..007439d7a17735d999af9f9a0bf2ffc98b441263 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
+++ b/chrome/common/field_trial_recorder.mojom
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=CSSPaintAPI,
-] partial interface Window {
- readonly attribute Worklet paintWorklet;
+module chrome.mojom;
+
+// Records field trial activations from the renderers.
+interface FieldTrialRecorder {
+ // Indicates that a field trial has been activated.
+ FieldTrialActivated(string trial_name);
};

Powered by Google App Engine
This is Rietveld 408576698