Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 371883003: Files.app: Add an private API to get a download URL (Closed)

Created:
6 years, 5 months ago by yoshiki
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, tfarina, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, hashimoto
Project:
chromium
Visibility:
Public.

Description

Files.app: Add an private API to get a download URL This patch just adds the API to get a download URL with an drive read only token. BUG=305511 TEST=manually teste R=asargent@chromium.org, hashimoto@chromium.org, kinaba@chromium.org TBR=isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283671

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressed the comment #

Total comments: 4

Patch Set 3 : Addressed the comments #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -4 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.h View 1 2 2 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc View 1 2 3 chunks +99 lines, -1 line 0 comments Download
M chrome/common/extensions/api/file_browser_private.idl View 2 chunks +8 lines, -3 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
yoshiki
@kinaba-san, could you take a look? Thanks.
6 years, 5 months ago (2014-07-08 03:46:02 UTC) #1
kinaba
+hashimoto for newly added fileds paramter of Drive API. https://codereview.chromium.org/371883003/diff/80001/chrome/browser/chromeos/drive/drive_readonly_token_fetcher.h File chrome/browser/chromeos/drive/drive_readonly_token_fetcher.h (right): https://codereview.chromium.org/371883003/diff/80001/chrome/browser/chromeos/drive/drive_readonly_token_fetcher.h#newcode20 chrome/browser/chromeos/drive/drive_readonly_token_fetcher.h:20: ...
6 years, 5 months ago (2014-07-09 06:02:48 UTC) #2
hashimoto
https://codereview.chromium.org/371883003/diff/80001/chrome/browser/chromeos/drive/file_system.h File chrome/browser/chromeos/drive/file_system.h (right): https://codereview.chromium.org/371883003/diff/80001/chrome/browser/chromeos/drive/file_system.h#newcode241 chrome/browser/chromeos/drive/file_system.h:241: // Part of GetDownloadUrl. Resolves the resource entry to ...
6 years, 5 months ago (2014-07-09 07:48:57 UTC) #3
yoshiki
Thank you for good comments. The patch got so simple! Could you take a look ...
6 years, 5 months ago (2014-07-11 13:48:50 UTC) #4
kinaba
lgtm with a nit https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc File chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc (right): https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc#newcode939 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc:939: std::string("https://www.googledrive.com/host/" + entry->resource_id()); std::string() is ...
6 years, 5 months ago (2014-07-14 04:22:23 UTC) #5
hashimoto
lgtm https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc File chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc (right): https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc#newcode952 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc:952: g_browser_process->system_request_context(), How about getting a RequestContext from Profile ...
6 years, 5 months ago (2014-07-14 04:46:35 UTC) #6
yoshiki
https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc File chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc (right): https://codereview.chromium.org/371883003/diff/120001/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc#newcode939 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc:939: std::string("https://www.googledrive.com/host/" + entry->resource_id()); On 2014/07/14 04:22:22, kinaba wrote: > ...
6 years, 5 months ago (2014-07-15 15:17:20 UTC) #7
yoshiki
@asargent: could you take a look at change in file_browser_private.idl? Thanks.
6 years, 5 months ago (2014-07-15 15:20:31 UTC) #8
asargent_no_longer_on_chrome
lgtm
6 years, 5 months ago (2014-07-16 22:17:16 UTC) #9
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 5 months ago (2014-07-17 02:20:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/371883003/140001
6 years, 5 months ago (2014-07-17 02:23:23 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 04:02:11 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 04:08:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/93429) android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/23206) android_clang_dbg ...
6 years, 5 months ago (2014-07-17 04:08:49 UTC) #14
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 5 months ago (2014-07-17 04:11:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/371883003/160001
6 years, 5 months ago (2014-07-17 04:13:20 UTC) #16
yoshiki
6 years, 5 months ago (2014-07-17 06:49:21 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 manually as r283671 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698