Commit d40c2afe authored by Michael Droettboom's avatar Michael Droettboom Committed by Sebastian Kaspari
Browse files

1540844: Rename metrics package -> private

parent 65a6248d
......@@ -20,7 +20,7 @@ import groovy.json.JsonOutput
// so that it will be shared between all libraries that use glean. This is
// important because it is approximately 300MB in installed size.
String GLEAN_PARSER_VERSION = "0.20.2"
String GLEAN_PARSER_VERSION = "0.21.0"
// The version of Miniconda is explicitly specified.
// Miniconda3-4.5.12 is known to not work on Windows.
String MINICONDA_VERSION = "4.5.11"
......
......@@ -7,9 +7,9 @@ package mozilla.components.service.glean.error
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.metrics.CounterMetricType
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.service.glean.private.CounterMetricType
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.service.glean.storages.CountersStorageEngine
import mozilla.components.support.base.log.logger.Logger
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import mozilla.components.service.glean.Glean
import mozilla.components.support.base.log.logger.Logger
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.os.SystemClock
import android.support.annotation.VisibleForTesting
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
/**
* Enumeration of the different kinds of histograms supported by metrics based on histograms.
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import mozilla.components.service.glean.storages.StorageEngine
import mozilla.components.service.glean.storages.StorageEngineManager
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
/**
* Enumeration of different resolutions supported by
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.storages.TimespansStorageEngine
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.Dispatchers
......
......@@ -18,7 +18,7 @@ import mozilla.components.service.glean.Glean
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.service.glean.utils.getISOTimeString
import mozilla.components.service.glean.utils.parseISOTimeString
import mozilla.components.service.glean.metrics.TimeUnit
import mozilla.components.service.glean.private.TimeUnit
import java.util.Calendar
import java.util.Date
import java.util.concurrent.TimeUnit as AndroidTimeUnit
......
......@@ -6,7 +6,7 @@ package mozilla.components.service.glean.storages
import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.support.base.log.logger.Logger
/**
......
......@@ -8,7 +8,7 @@ import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.error.ErrorRecording.recordError
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.support.base.log.logger.Logger
/**
......
......@@ -6,8 +6,8 @@ package mozilla.components.service.glean.storages
import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.metrics.DatetimeMetricType
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.service.glean.private.DatetimeMetricType
import mozilla.components.service.glean.utils.getISOTimeString
import mozilla.components.service.glean.utils.parseISOTimeString
import mozilla.components.support.base.log.logger.Logger
......
......@@ -18,8 +18,8 @@ import kotlinx.coroutines.withTimeout
import mozilla.components.service.glean.Dispatchers
import mozilla.components.service.glean.error.ErrorRecording.recordError
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.metrics.EventMetricType
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.private.EventMetricType
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.service.glean.utils.ensureDirectoryExists
import mozilla.components.support.base.log.logger.Logger
import org.json.JSONArray
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment