Bug 1457127 - Remove unused reflectStatus. r?janerik draft
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Wed, 16 May 2018 13:09:33 +0200
changeset 797014 1c0952d5366445713f95c490b787967cebc591f1
parent 797013 ce886f36d4965c776acdd866c2c5ab5ce5fe117f
child 797015 8cb736b6f03d368bb0d413e524b362eef72f1792
push id110396
push userbmo:alessio.placitelli@gmail.com
push dateFri, 18 May 2018 15:30:15 +0000
reviewersjanerik
bugs1457127
milestone62.0a1
Bug 1457127 - Remove unused reflectStatus. r?janerik MozReview-Commit-ID: 6AwQTnDFjzG
toolkit/components/telemetry/TelemetryHistogram.cpp
--- a/toolkit/components/telemetry/TelemetryHistogram.cpp
+++ b/toolkit/components/telemetry/TelemetryHistogram.cpp
@@ -142,21 +142,16 @@ struct HistogramInfo {
   SupportedProduct products;
 
   const char *name() const;
   const char *expiration() const;
   nsresult label_id(const char* label, uint32_t* labelId) const;
   bool allows_key(const nsACString& key) const;
 };
 
-enum reflectStatus {
-  REFLECT_OK,
-  REFLECT_FAILURE
-};
-
 // Structs used to keep information about the histograms for which a
 // snapshot should be created.
 struct HistogramSnapshotData {
   nsTArray<Histogram::Sample> mBucketRanges;
   nsTArray<Histogram::Count> mBucketCounts;
   int64_t mSampleSum; // Same type as Histogram::SampleSet::sum_
 };