зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset cd18c8af8b56
--HG-- extra : commitid : EgmuwwZ0Oa0
This commit is contained in:
Родитель
684573e2db
Коммит
b1e2e95999
|
@ -1729,6 +1729,8 @@ public class BrowserApp extends GeckoApp
|
|||
final ContentResolver cr = getContentResolver();
|
||||
Telemetry.addToHistogram("PLACES_PAGES_COUNT", db.getCount(cr, "history"));
|
||||
Telemetry.addToHistogram("FENNEC_BOOKMARKS_COUNT", db.getCount(cr, "bookmarks"));
|
||||
Telemetry.addToHistogram("FENNEC_FAVICONS_COUNT", db.getCount(cr, "favicons"));
|
||||
Telemetry.addToHistogram("FENNEC_THUMBNAILS_COUNT", db.getCount(cr, "thumbnails"));
|
||||
Telemetry.addToHistogram("FENNEC_READING_LIST_COUNT", db.getReadingListAccessor().getCount(cr));
|
||||
Telemetry.addToHistogram("BROWSER_IS_USER_DEFAULT", (isDefaultBrowser(Intent.ACTION_VIEW) ? 1 : 0));
|
||||
Telemetry.addToHistogram("FENNEC_TABQUEUE_ENABLED", (TabQueueHelper.isTabQueueEnabled(BrowserApp.this) ? 1 : 0));
|
||||
|
|
|
@ -181,6 +181,8 @@ public class LocalURLMetadata implements URLMetadata {
|
|||
}
|
||||
}
|
||||
|
||||
Telemetry.addToHistogram("FENNEC_TILES_CACHE_HIT", data.size());
|
||||
|
||||
// If everything was in the cache, we're done!
|
||||
if (urlsToQuery.size() == 0) {
|
||||
return Collections.unmodifiableMap(data);
|
||||
|
|
|
@ -3397,6 +3397,22 @@
|
|||
"alert_emails": ["mobile-frontend@mozilla.com"],
|
||||
"bug_numbers": [1244704]
|
||||
},
|
||||
"FENNEC_FAVICONS_COUNT": {
|
||||
"expires_in_version": "40",
|
||||
"kind": "exponential",
|
||||
"high": "2000",
|
||||
"n_buckets": 10,
|
||||
"cpp_guard": "ANDROID",
|
||||
"description": "Number of favicons stored in the browser DB *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***"
|
||||
},
|
||||
"FENNEC_THUMBNAILS_COUNT": {
|
||||
"expires_in_version": "40",
|
||||
"kind": "exponential",
|
||||
"high": "2000",
|
||||
"n_buckets": 10,
|
||||
"cpp_guard": "ANDROID",
|
||||
"description": "Number of thumbnails stored in the browser DB *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***"
|
||||
},
|
||||
"FENNEC_READING_LIST_COUNT": {
|
||||
"expires_in_version": "50",
|
||||
"kind": "exponential",
|
||||
|
@ -8143,6 +8159,13 @@
|
|||
"kind": "flag",
|
||||
"description": "If a master-password is enabled for this profile"
|
||||
},
|
||||
"FENNEC_TILES_CACHE_HIT": {
|
||||
"expires_in_version": "40",
|
||||
"kind": "linear",
|
||||
"high": "13",
|
||||
"n_buckets": 12,
|
||||
"description": "Cache hits on the tile-info metadata database *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***"
|
||||
},
|
||||
"DISPLAY_SCALING_OSX" : {
|
||||
"expires_in_version": "never",
|
||||
"kind": "linear",
|
||||
|
|
Загрузка…
Ссылка в новой задаче