mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
c8c41d6efe
--HG-- rename : browser/components/migration/src/BrowserProfileMigrators.manifest => browser/components/migration/BrowserProfileMigrators.manifest rename : browser/components/migration/src/ChromeProfileMigrator.js => browser/components/migration/ChromeProfileMigrator.js rename : browser/components/migration/src/FirefoxProfileMigrator.js => browser/components/migration/FirefoxProfileMigrator.js rename : browser/components/migration/src/IEProfileMigrator.js => browser/components/migration/IEProfileMigrator.js rename : browser/components/migration/src/MigrationUtils.jsm => browser/components/migration/MigrationUtils.jsm rename : browser/components/migration/src/ProfileMigrator.js => browser/components/migration/ProfileMigrator.js rename : browser/components/migration/src/SafariProfileMigrator.js => browser/components/migration/SafariProfileMigrator.js rename : browser/components/migration/public/nsIBrowserProfileMigrator.idl => browser/components/migration/nsIBrowserProfileMigrator.idl rename : browser/components/migration/src/nsIEHistoryEnumerator.cpp => browser/components/migration/nsIEHistoryEnumerator.cpp rename : browser/components/migration/src/nsIEHistoryEnumerator.h => browser/components/migration/nsIEHistoryEnumerator.h
22 lines
805 B
JavaScript
22 lines
805 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* 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/. */
|
|
|
|
"use strict";
|
|
|
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
|
Components.utils.import("resource:///modules/MigrationUtils.jsm");
|
|
|
|
function ProfileMigrator() {
|
|
}
|
|
|
|
ProfileMigrator.prototype = {
|
|
migrate: MigrationUtils.startupMigration.bind(MigrationUtils),
|
|
QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsIProfileMigrator]),
|
|
classDescription: "Profile Migrator",
|
|
contractID: "@mozilla.org/toolkit/profile-migrator;1",
|
|
classID: Components.ID("6F8BB968-C14F-4D6F-9733-6C6737B35DCE")
|
|
};
|
|
|
|
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([ProfileMigrator]);
|