Bug 1042951 - Part 1: bump searches measurement version to include search activity sources. r=margaret
--- a/mobile/android/base/health/BrowserHealthRecorder.java
+++ b/mobile/android/base/health/BrowserHealthRecorder.java
@@ -636,22 +636,23 @@ public class BrowserHealthRecorder imple
}
}
/*
* Searches.
*/
public static final String MEASUREMENT_NAME_SEARCH_COUNTS = "org.mozilla.searches.counts";
- public static final int MEASUREMENT_VERSION_SEARCH_COUNTS = 5;
+ public static final int MEASUREMENT_VERSION_SEARCH_COUNTS = 6;
public static final Set<String> SEARCH_LOCATIONS = Collections.unmodifiableSet(new HashSet<String>(Arrays.asList(new String[] {
- "barkeyword",
- "barsuggest",
- "bartext",
+ "barkeyword", // A search keyword (e.g., "imdb star wars").
+ "barsuggest", // A suggestion picked after typing in the search bar.
+ "bartext", // Raw text in the search bar.
+ "activity", // The search activity.
})));
void initializeSearchProvider() {
this.storage.ensureMeasurementInitialized(
MEASUREMENT_NAME_SEARCH_COUNTS,
MEASUREMENT_VERSION_SEARCH_COUNTS,
new MeasurementFields() {
@Override