diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-30 13:56:07 -0500 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-30 13:56:07 -0500 |
commit | 493c956d8de0fdb763851d9c12cfd248776b80b8 (patch) | |
tree | e583756e275c3fc2f35948f7eee193aa314e1b35 /js/src/vm/Runtime.h | |
parent | 7f992d50e417b0c2f18259ce2353e3ead4870694 (diff) | |
download | UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.gz UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.lz UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.xz UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.zip |
Remove telemetry leftovers from JS engine.
Diffstat (limited to 'js/src/vm/Runtime.h')
-rw-r--r-- | js/src/vm/Runtime.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/src/vm/Runtime.h b/js/src/vm/Runtime.h index f354d2069..e60371e38 100644 --- a/js/src/vm/Runtime.h +++ b/js/src/vm/Runtime.h @@ -577,17 +577,7 @@ struct JSRuntime : public JS::shadow::Runtime, #endif mozilla::Atomic<uint32_t, mozilla::Relaxed> interrupt_; - - /* Call this to accumulate telemetry data. */ - JSAccumulateTelemetryDataCallback telemetryCallback; public: - // Accumulates data for Firefox telemetry. |id| is the ID of a JS_TELEMETRY_* - // histogram. |key| provides an additional key to identify the histogram. - // |sample| is the data to add to the histogram. - void addTelemetry(int id, uint32_t sample, const char* key = nullptr); - - void setTelemetryCallback(JSRuntime* rt, JSAccumulateTelemetryDataCallback callback); - enum InterruptMode { RequestInterruptUrgent, RequestInterruptCanWait |