Too Much Salt on Shabbos

The Rambam prohibits salting vegetables on Shabbos. Why? Either because it's similar to עיבוד (processing hides on Shabbos) or because כבוש כמבושל (salting/preserving is like cooking). What is the difference between the two reasons?