Bug 1119104 - add a migration=sync11 query param when about:accounts is opened via migration flow. r=adw

This commit is contained in:
Mark Hammond 2015-01-09 09:53:34 +11:00
Родитель f19948b19d
Коммит f3daa22bc7
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -387,6 +387,8 @@ Migrator.prototype = {
// See if we can find a default account name to use.
let email = yield this._getDefaultAccountName(sentinel);
let tail = email ? "&email=" + encodeURIComponent(email) : "";
// A special flag so server-side metrics can tell this is part of migration.
tail += "&migration=sync11";
// We want to ask FxA to offer a "Customize Sync" checkbox iff any engines
// are disabled.
let customize = !this._allEnginesEnabled();