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

Issue 9425014: Fix most of the downloads api in incognito profiles (Closed)

Created:
8 years, 10 months ago by benjhayden
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Fix most of the downloads api in incognito: search(), pause(), resume(), cancel(), getFileIcon(). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137478

Patch Set 1 #

Patch Set 2 : ... #

Patch Set 3 : GetCurrentBrowser()->profile() #

Patch Set 4 : merge #

Patch Set 5 : " #

Patch Set 6 : " #

Patch Set 7 : " #

Patch Set 8 : " #

Total comments: 6

Patch Set 9 : comments #

Patch Set 10 : comments #

Patch Set 11 : test #

Total comments: 4

Patch Set 12 : comments #

Patch Set 13 : " #

Patch Set 14 : " #

Patch Set 15 : merge #

Patch Set 16 : merge #

Patch Set 17 : " #

Total comments: 14

Patch Set 18 : comments #

Patch Set 19 : comments #

Total comments: 6

Patch Set 20 : comments #

Patch Set 21 : " #

Patch Set 22 : GetFileIcon #

Total comments: 4

Patch Set 23 : style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -45 lines) Patch
M chrome/browser/download/download_extension_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/download/download_extension_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 10 chunks +57 lines, -27 lines 0 comments Download
M chrome/browser/download/download_extension_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +183 lines, -18 lines 0 comments Download
M chrome/common/extensions/api/experimental_downloads.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
benjhayden
PTAL
8 years, 7 months ago (2012-05-02 16:00:14 UTC) #1
Randy Smith (Not in Mondays)
A couple of high level comments: * It'd be good to have an issue that ...
8 years, 7 months ago (2012-05-02 18:57:01 UTC) #2
Randy Smith (Not in Mondays)
Whoops, one other high level comment: I think you'll want someone other than me to ...
8 years, 7 months ago (2012-05-02 18:57:23 UTC) #3
benjhayden
PTAL http://codereview.chromium.org/9425014/diff/19008/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/19008/chrome/browser/download/download_extension_api.cc#newcode469 chrome/browser/download/download_extension_api.cc:469: // understand OTR, so this change will depend ...
8 years, 7 months ago (2012-05-03 13:54:39 UTC) #4
Randy Smith (Not in Mondays)
I'd also like to review the new CL description before stamping. http://codereview.chromium.org/9425014/diff/31007/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): ...
8 years, 7 months ago (2012-05-03 19:07:21 UTC) #5
benjhayden
PTAL http://codereview.chromium.org/9425014/diff/31007/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/31007/chrome/browser/download/download_extension_api.cc#newcode317 chrome/browser/download/download_extension_api.cc:317: profile = browser->profile(); On 2012/05/03 19:07:21, rdsmith wrote: ...
8 years, 7 months ago (2012-05-03 21:08:12 UTC) #6
benjhayden
Mihai, would you mind reviewing my understanding of profile() vs. GetCurrentBrowser()->profile()?
8 years, 7 months ago (2012-05-04 13:53:50 UTC) #7
Randy Smith (Not in Mondays)
LGTM, but if Mihai's willing, I'd like him to give the whole thing a scan ...
8 years, 7 months ago (2012-05-04 15:25:46 UTC) #8
benjhayden
merge
8 years, 7 months ago (2012-05-14 17:17:08 UTC) #9
benjhayden
"
8 years, 7 months ago (2012-05-14 20:54:54 UTC) #10
Mihai Parparita -not on Chrome
I'm not actually the best person for this review. I believe Matt knows the most ...
8 years, 7 months ago (2012-05-14 21:05:48 UTC) #11
Matt Perry
http://codereview.chromium.org/9425014/diff/50009/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/50009/chrome/browser/download/download_extension_api.cc#newcode315 chrome/browser/download/download_extension_api.cc:315: if ((browser != NULL) && nit: prefer "browser" to ...
8 years, 7 months ago (2012-05-14 22:57:11 UTC) #12
Matt Perry
http://codereview.chromium.org/9425014/diff/50009/chrome/common/extensions/api/experimental_downloads.json File chrome/common/extensions/api/experimental_downloads.json (right): http://codereview.chromium.org/9425014/diff/50009/chrome/common/extensions/api/experimental_downloads.json#newcode277 chrome/common/extensions/api/experimental_downloads.json:277: "incognito": { On 2012/05/14 22:57:11, Matt Perry wrote: > ...
8 years, 7 months ago (2012-05-14 22:58:55 UTC) #13
benjhayden
Thanks, Matt! PTAL http://codereview.chromium.org/9425014/diff/50009/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/50009/chrome/browser/download/download_extension_api.cc#newcode315 chrome/browser/download/download_extension_api.cc:315: if ((browser != NULL) && On ...
8 years, 7 months ago (2012-05-15 17:16:25 UTC) #14
Matt Perry
http://codereview.chromium.org/9425014/diff/53009/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/53009/chrome/browser/download/download_extension_api.cc#newcode98 chrome/browser/download/download_extension_api.cc:98: const char kIncognitoOnly[] = "only"; This can go away. ...
8 years, 7 months ago (2012-05-15 19:02:22 UTC) #15
benjhayden
PTAL http://codereview.chromium.org/9425014/diff/53009/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/53009/chrome/browser/download/download_extension_api.cc#newcode98 chrome/browser/download/download_extension_api.cc:98: const char kIncognitoOnly[] = "only"; On 2012/05/15 19:02:23, ...
8 years, 7 months ago (2012-05-15 21:05:05 UTC) #16
Matt Perry
cool, LGTM. http://codereview.chromium.org/9425014/diff/41012/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/41012/chrome/browser/download/download_extension_api.cc#newcode317 chrome/browser/download/download_extension_api.cc:317: GetDownloadManager(); indent += 2 http://codereview.chromium.org/9425014/diff/41012/chrome/browser/download/download_extension_api.cc#newcode366 chrome/browser/download/download_extension_api.cc:366: return ...
8 years, 7 months ago (2012-05-15 21:46:58 UTC) #17
benjhayden
Thanks! Committing this afternoon if there are no objections. http://codereview.chromium.org/9425014/diff/41012/chrome/browser/download/download_extension_api.cc File chrome/browser/download/download_extension_api.cc (right): http://codereview.chromium.org/9425014/diff/41012/chrome/browser/download/download_extension_api.cc#newcode317 chrome/browser/download/download_extension_api.cc:317: ...
8 years, 7 months ago (2012-05-16 15:01:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/9425014/41013
8 years, 7 months ago (2012-05-16 17:30:05 UTC) #19
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 19:18:25 UTC) #20
Change committed as 137478

Powered by Google App Engine
This is Rietveld 408576698