Generally speaking Gun parts ( slides in particular) are not using very special steels as the modern knife blades. Bluing knife blades have two major issues:
Type of steel and heat treatment.
If your knife blade is more of the stainless steel it will not blue good. Of course exceptions exist...
If you go to process as Tenifer/Melonite ( same "salt bath"), you will have really excellent protection but those processes involve lots of heat and this will probably affect the hardness of the blade...
Again, there are exceptions of every rule...
DLC is a very thin coating that have almost the same hardness as the Tenifer/Melonite and does not involve heat, IMO this would be ideal for knife blade coating if it didn't have the specific gray/dark gray coloring...
I personally have no problem with it but some people prefer satin or natural metal color on their blades so...
As the Gentleman noted in one of the previous posts - you can polish the metal and apply DLC and you'll have polished DLS coating, looks very attractive IMO.
Razor Edge Knives is one guy that I know, that does DLC with great success, they are lots of other companies that does it too but it takes months if you lucky to get on those lists.
So Gun Bluing usually goes on slides and the metal isn't really stainless steel, Glock for example uses 4140 carbon steel for their slides and barrels and this steel would require solid protection,
something the old Tenifer process delivered. I know because of safety regulations they changed the process with something similar few years back, If I remember correctly since Gen 5,
and the new process is not very consistent as uniform black color, but the actual Tenifer is silver in color and it is under the dark "bluing" which is done during the "salt bath"
I personally wouldn't care for "blue" knife blade but some of them are looking very good, as the SOG Recon Bowie Mr Hash showed in his outstanding display...