Pass a serialized GDataEntry to the miner when inserting a shared item
@debarshir
Submitted by Debarshi Ray Link to original bug (#771825)
Description
In bug 770267, we added a InsertSharedContent call that passes the ID of the GDataEntry that was just shared. Instead, let's pass a serialized GDataEntry so that the miner doesn't have to issue a network query to re-construct the GDataEntry. See bug 771823 for a new D-Bus API in the miner to facilitate this.
It would be nice to retain support for the existing InsertSharedContent call in case we are running against an old version of the miner.