Green’s Dictionary of Slang

Her Majesty’s naval police n.

[they swim near warm-water ports and thus prevent sailors from attempting to desert ship by swimming ashore]

[late 19C–1900s] sharks.