// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.

define([],
function() {"use strict";

    var FsRestoreUploadViewCustomizations = ( function() {
        
        function FsRestoreUploadViewCustomizations() {

            this.getCustomizations = function () {
                
                /*
                 * The exampleFusionCustomizations array defined below contains the single
                 * customization still supported for Fusion injection of a customized 
                 * warning into the Restore from backup dialog.
                 * 
                 * The new Restore UI incorporates all of the other Fusion customizations
                 * into the standard Atlas Restore UI. This remains as a bridge over a potentially
                 * breaking change.
                 * 
                 * It is quite deprecated.
                 * 
                 * TODO: Never use this mechanism again for any partner.
                 * TODO: Get Fusion over to a better mechanism as soon as possible.
                 */
                /* Reenable this code (commented out for Sonar) for testing as needed.
                var newTestFusionCustomizations = [
                    {
                        registerCustomization: function() {
                            require(['text!fsPages/settings/restore/restore_fs_customizations.html',
                                     'fs/view/settings/restore/UploadThenRestoreView'],
                            function (src, view) {
                                var CUSTOMIZABLE_WARNING = "#hp-settings-restore-customizable-warning";
                                view.customizeMarkup(src, CUSTOMIZABLE_WARNING);
                            });
                        }
                    }
                ];
                */
                return null; // No customizations for Top-of-Trunk ATC
            };
        }
        
        return new FsRestoreUploadViewCustomizations();
    }());

    return FsRestoreUploadViewCustomizations;
});
