Add DriveApiUrlGenerator.
This CL is preparation for server path injection, especially for testing. It Extracts URL constructing logic from GetURL methods of the classes in drive_api_operations.{h,cc}, and puts them into a new class DriveApiUrlGenerator. DriveApiUrlGenerator is given via operation classes' constructors from their client (DriveApiService). The concept of this CL is very similar to the following CLs: https://codereview.chromium.org/11411086 https://codereview.chromium.org/11418084 https://codereview.chromium.org/11417108 https://codereview.chromium.org/11417109 BUG=162155 TEST=ran unit_tests and chromeos_unittests Review URL: https://chromiumcodereview.appspot.com/11799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175504 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment