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

Issue 10908081: Refactor screenshot directory source (Closed)

Created:
8 years, 3 months ago by Harry McCleave
Modified:
8 years, 2 months ago
Reviewers:
csilv, Jun Mukai, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Limit number of code paths for accessing screenshot sources to avoid potential future pitfalls. BUG=130932 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157174 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158695

Patch Set 1 #

Patch Set 2 : update reference #

Patch Set 3 : Include cleanup #

Total comments: 1

Patch Set 4 : include + constants #

Patch Set 5 : compile issue #

Patch Set 6 : ... #

Total comments: 4

Patch Set 7 : nits #

Total comments: 2

Patch Set 8 : include ordering #

Total comments: 21

Patch Set 9 : requested changes #

Total comments: 2

Patch Set 10 : requested changes #

Patch Set 11 : Incorrect Constant #

Patch Set 12 : rebase #

Patch Set 13 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -105 lines) Patch
M chrome/browser/ui/ash/screenshot_taker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +9 lines, -78 lines 0 comments Download
M chrome/browser/ui/webui/feedback_ui.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/screenshot_source.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/screenshot_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +104 lines, -10 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Harry McCleave
Please take a look when you get a chance.
8 years, 3 months ago (2012-09-05 23:19:56 UTC) #1
Jun Mukai
thanks for doing this. Can you also take a look at chrome/browser/ui/webui/feedback_ui.cc ? It also ...
8 years, 3 months ago (2012-09-06 09:30:06 UTC) #2
Harry McCleave
On 2012/09/06 09:30:06, Jun Mukai wrote: > thanks for doing this. > > Can you ...
8 years, 3 months ago (2012-09-07 19:47:51 UTC) #3
Jun Mukai
nitpicking comments again... http://codereview.chromium.org/10908081/diff/13001/chrome/browser/ui/webui/feedback_ui.cc File chrome/browser/ui/webui/feedback_ui.cc (right): http://codereview.chromium.org/10908081/diff/13001/chrome/browser/ui/webui/feedback_ui.cc#newcode83 chrome/browser/ui/webui/feedback_ui.cc:83: const char* kCustomPageUrlParameter = "customPageUrl="; IIRC ...
8 years, 3 months ago (2012-09-10 23:48:31 UTC) #4
Harry McCleave
http://codereview.chromium.org/10908081/diff/13001/chrome/browser/ui/webui/feedback_ui.cc File chrome/browser/ui/webui/feedback_ui.cc (right): http://codereview.chromium.org/10908081/diff/13001/chrome/browser/ui/webui/feedback_ui.cc#newcode83 chrome/browser/ui/webui/feedback_ui.cc:83: const char* kCustomPageUrlParameter = "customPageUrl="; On 2012/09/10 23:48:31, Jun ...
8 years, 3 months ago (2012-09-11 01:21:00 UTC) #5
Jun Mukai
lgtm with a nit please get the approval from the real owner. http://codereview.chromium.org/10908081/diff/6004/chrome/browser/ui/webui/screenshot_source.cc File chrome/browser/ui/webui/screenshot_source.cc ...
8 years, 3 months ago (2012-09-11 01:56:18 UTC) #6
Harry McCleave
http://codereview.chromium.org/10908081/diff/6004/chrome/browser/ui/webui/screenshot_source.cc File chrome/browser/ui/webui/screenshot_source.cc (right): http://codereview.chromium.org/10908081/diff/6004/chrome/browser/ui/webui/screenshot_source.cc#newcode10 chrome/browser/ui/webui/screenshot_source.cc:10: #endif On 2012/09/11 01:56:18, Jun Mukai wrote: > nit: ...
8 years, 3 months ago (2012-09-12 02:18:34 UTC) #7
sky
http://codereview.chromium.org/10908081/diff/14005/chrome/browser/ui/ash/screenshot_taker.cc File chrome/browser/ui/ash/screenshot_taker.cc (right): http://codereview.chromium.org/10908081/diff/14005/chrome/browser/ui/ash/screenshot_taker.cc#newcode130 chrome/browser/ui/ash/screenshot_taker.cc:130: ScreenshotSource::GetScreenshotBaseFilename(); nit: indent this 4 spaces from previous line. ...
8 years, 3 months ago (2012-09-12 04:32:01 UTC) #8
Harry McCleave
https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/ash/screenshot_taker.cc File chrome/browser/ui/ash/screenshot_taker.cc (right): https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/ash/screenshot_taker.cc#newcode130 chrome/browser/ui/ash/screenshot_taker.cc:130: ScreenshotSource::GetScreenshotBaseFilename(); On 2012/09/12 04:32:01, sky wrote: > nit: indent ...
8 years, 3 months ago (2012-09-13 03:05:39 UTC) #9
csilv
lgtm https://chromiumcodereview.appspot.com/10908081/diff/16001/chrome/browser/ui/ash/screenshot_taker.cc File chrome/browser/ui/ash/screenshot_taker.cc (right): https://chromiumcodereview.appspot.com/10908081/diff/16001/chrome/browser/ui/ash/screenshot_taker.cc#newcode32 chrome/browser/ui/ash/screenshot_taker.cc:32: #include "chrome/browser/chromeos/gdata/gdata_util.h" nit: swap order of lines 31 ...
8 years, 3 months ago (2012-09-13 05:32:17 UTC) #10
sky
https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/webui/screenshot_source.cc File chrome/browser/ui/webui/screenshot_source.cc (right): https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/webui/screenshot_source.cc#newcode55 chrome/browser/ui/webui/screenshot_source.cc:55: PrefService* pref_service = profile->GetPrefs(); On 2012/09/13 03:05:39, Harry McCleave ...
8 years, 3 months ago (2012-09-13 15:57:30 UTC) #11
Harry McCleave
On 2012/09/13 15:57:30, sky wrote: > https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/webui/screenshot_source.cc > File chrome/browser/ui/webui/screenshot_source.cc (right): > > https://chromiumcodereview.appspot.com/10908081/diff/14005/chrome/browser/ui/webui/screenshot_source.cc#newcode55 > ...
8 years, 3 months ago (2012-09-13 20:37:42 UTC) #12
sky
LGTM
8 years, 3 months ago (2012-09-13 21:17:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/3010
8 years, 3 months ago (2012-09-13 21:18:54 UTC) #14
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-13 23:01:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/3012
8 years, 3 months ago (2012-09-17 17:36:31 UTC) #16
commit-bot: I haz the power
Change committed as 157174
8 years, 3 months ago (2012-09-17 20:01:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/11006
8 years, 3 months ago (2012-09-17 22:14:23 UTC) #18
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-18 02:25:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/11006
8 years, 3 months ago (2012-09-18 03:28:09 UTC) #20
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-18 05:36:09 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/11006
8 years, 2 months ago (2012-09-25 19:17:07 UTC) #22
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/ash/screenshot_taker.cc: While running patch -p1 --forward --force; patching file chrome/browser/ui/ash/screenshot_taker.cc ...
8 years, 2 months ago (2012-09-25 19:17:09 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/10908081/36001
8 years, 2 months ago (2012-09-25 22:09:46 UTC) #24
commit-bot: I haz the power
8 years, 2 months ago (2012-09-25 23:56:17 UTC) #25
Change committed as 158695

Powered by Google App Engine
This is Rietveld 408576698