DescriptionAdd base_url to DriveApiUrlGenerator.
This is preparation for injecting server path to the drive api operations.
Its main usage is injecting local test server for unittests of classes in
drive_api_operations.{cc, h} (will be done in following CLs).
To share the testing utility GetBaseUrlForTesting, it is moved into test_util.
BUG=162155
TEST=Ran unit_tests and chromeos_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175774
Patch Set 1 #
Total comments: 4
Patch Set 2 : Introduce kBaseUrlForProduction in DriveApiUrlGenerator #Messages
Total messages: 9 (0 generated)
|