Move the responsibility to convert from JSON to FileResource into drive_api_operations.

These are two purposes of this change.
1) Resolve the asymmetricity of the JSON and typed C++ conversion.
Now, operation classes take the C++ parameters and format them into JSON.
However, the response is converted in DriveAPIService. This CL resolves the
asymmetricity for FileResource.
2) This is also the preparation of the ResumeUploadOperation implementation.

BUG=148632
TEST=Ran unit_tests.


Review URL: https://chromiumcodereview.appspot.com/12387021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185495 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed