Chrome lining (CL) is early XX century technology, first introduced by Russians to offset problems with using poor steel for barrels and lack of maintenance by Russian soldiers (corrosive ammo only those times). Modern nitriding is late XX / early XXI century technology, that allows improvement even over modern alloys used today. So why CL is still around? Because military wants it, because they are used to to it. When in middle '90s Polish state armoury presented Polish Army with benefits of nitriding over CL, brass answered that "sure, nitride barrels and then chrome line them". When German Army wanted new DMR rifle, they were not satisfied with accuracy of HK417 with CL barrel. They took civilian HK MR308 rifle with non-lined barrel and were were pleased. So they ordered G28 to be based on MR308 rather than HK417, but with added requirement to... chrome line the barrel (HK put there steel upper to get back some accuracy lost on chrome lining).
It is kind like people can't come to realize that you do not need 100 years old technology of high chromium alloy called "stainless steel" to have corrosion resistant barrels.