This is very similar to mitochondrial respiration with both using an electrochemical gradient of protons, the proton motive force, as an energy source.