summaryrefslogtreecommitdiffstats
path: root/google_apis/drive/drive_api_url_generator.cc
Commit message (Collapse)AuthorAgeFilesLines
* Use cropped thumbnail in list thumbnail loader.yawano2015-05-111-2/+9
| | | | | | | | | BUG=480679 TEST=manually tested as described in the issue; google_apis_unittests: DriveApiUrlGeneratorTest Review URL: https://codereview.chromium.org/1125353003 Cr-Commit-Position: refs/heads/master@{#329139}
* Files.app: Add URL for batch uploading to URLGenerator.hirono2015-04-141-0/+5
| | | | | | | | | BUG=451917 TEST=DriveApiUrlGeneratorTest.BatchUploadUrl Review URL: https://codereview.chromium.org/1081033002 Cr-Commit-Position: refs/heads/master@{#324963}
* Update Styx URLs for thumbnails and downloads in Files app.mtomasz2015-02-271-20/+35
| | | | | | | | | | | | This patch updates the URLs for Drive files to match the recent requirements. TBR=kinaba@chromium.org TEST=unit_tests: *DriveApiUrlGeneratorTest* BUG=None Review URL: https://codereview.chromium.org/831663009 Cr-Commit-Position: refs/heads/master@{#318432}
* Migrate from WAPI to Genoa to get the url to share dialog.fukino2015-01-161-2/+20
| | | | | | | | | | | | - As 'shareLink' is available only in v2internal, files.get is routed to v2internal now. If the running Chrome OS is not official build, files.get is routed to non-internal server and shareLink is not available. - If the shareLink is not available, an error log will be output and the dialog shows the message IDS_FILE_BROWSER_SHARE_ERROR ("Sharing failed. Check your connection and try again later." in English). BUG=357038 TEST=run google_apis_unittests Review URL: https://codereview.chromium.org/857543002 Cr-Commit-Position: refs/heads/master@{#311884}
* DriveAPI: Add mehtod to create URL for multipart uploading.hirono2014-12-091-4/+35
| | | | | | | | | | | | | | The CL adds the following two methods to DriveApiUrlGenerator. * GetMultipartUploadNewFileUrl * GetMultipartUploadExistingFileUrl BUG=269922 TEST=DriveApiUrlGeneratorTest Review URL: https://codereview.chromium.org/772323004 Cr-Commit-Position: refs/heads/master@{#307413}
* drive: Add request class for Permissions.insert API.kinaba@chromium.org2014-03-041-0/+8
| | | | | | | | BUG=348465 Review URL: https://codereview.chromium.org/185723004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254738 0039d316-1c4b-4281-b951-d872f2087c98
* Parse "removable" and "productId" fields from apps.list response.kinaba@chromium.org2014-02-051-2/+5
| | | | | | | | | BUG=334966 R=hashimoto@chromium.org Review URL: https://codereview.chromium.org/132333006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248831 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Support authorizing third-party Drive apps for opening files.kinaba@chromium.org2014-01-171-3/+14
| | | | | | | | | | | | | Along the way, replace the official key check in DriveAppRegistry::IsUninstallSupported by the new devoted function. (In fact, the macro is available only during google_apis/ hence the previous code was not working well...) BUG=332332 Review URL: https://codereview.chromium.org/140783006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245565 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Add metadata parameters to InitiateUpload* methodshashimoto@chromium.org2014-01-171-5/+19
| | | | | | | | | | | It is allowed to send metadata and file contents at the same time with Drive API. BUG=260539 TEST=unit_tests Review URL: https://codereview.chromium.org/139153006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245466 0039d316-1c4b-4281-b951-d872f2087c98
* Implement DriveAPIService::UninstallApp().kinaba@chromium.org2014-01-081-0/+8
| | | | | | | | BUG=324166 Review URL: https://codereview.chromium.org/127663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243571 0039d316-1c4b-4281-b951-d872f2087c98
* [Drive] Add DriveServiceInterface::DeleteResourcetzik@chromium.org2013-12-121-0/+6
| | | | | | | | | | | | * Add DriveServiceInterface::DeleteResource * Implement DriveAPIService::DeleteResource BUG=240165 R=hashimoto@chromium.org Review URL: https://codereview.chromium.org/113803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240278 0039d316-1c4b-4281-b951-d872f2087c98
* Move c/b/google_apis to google_apis/drive.kinaba@chromium.org2013-12-031-0/+177
BUG=146989 R=joi@chromium.org, satorux@chromium.org, tzik@chromium.org TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/96413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238306 0039d316-1c4b-4281-b951-d872f2087c98