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

Issue 8383008: Add a command-line switch --skip-gpu-data-loading. (Closed)

Created:
9 years, 2 months ago by Zhenyao Mo
Modified:
9 years, 1 month ago
CC:
chromium-reviews, jam, apatrick_chromium, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., nduca, alokp
Visibility:
Public.

Description

Add a command-line switch --skip-gpu-data-loading. With this switch, GPU info collection, GPU blacklist loading, and GPU blacklist auto-update scheduling are skipped at browser startup time. This CL also hooks this switch with UI tests and browser tests. BUG=101220 TEST=no behavior change in existing browser tests and ui tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107459

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -21 lines) Patch
M chrome/browser/web_resource/gpu_blacklist_updater.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/test/base/test_launcher_utils.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager.cc View 1 2 3 6 chunks +10 lines, -15 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Zhenyao Mo
thestig: can you review the part I add the switch to UI test and browser ...
9 years, 2 months ago (2011-10-24 17:59:06 UTC) #1
Lei Zhang
LGTM on the testing side, but maybe Pawel will have additional input.
9 years, 2 months ago (2011-10-24 19:45:11 UTC) #2
Zhenyao Mo
Pawel: please have a look.
9 years, 2 months ago (2011-10-24 19:48:15 UTC) #3
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc File content/browser/gpu/gpu_data_manager.cc (right): http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc#newcode692 content/browser/gpu/gpu_data_manager.cc:692: return NULL; Does this test handle the case where ...
9 years, 2 months ago (2011-10-24 21:04:41 UTC) #4
Zhenyao Mo
http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc File content/browser/gpu/gpu_data_manager.cc (right): http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc#newcode692 content/browser/gpu/gpu_data_manager.cc:692: return NULL; On 2011/10/24 21:04:41, kbr wrote: > Does ...
9 years, 2 months ago (2011-10-24 21:42:18 UTC) #5
Ken Russell (switch to Gerrit)
On 2011/10/24 21:42:18, Zhenyao Mo wrote: > http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc > File content/browser/gpu/gpu_data_manager.cc (right): > > http://codereview.chromium.org/8383008/diff/2002/content/browser/gpu/gpu_data_manager.cc#newcode692 ...
9 years, 2 months ago (2011-10-24 21:51:40 UTC) #6
Paweł Hajdan Jr.
Thank you for adding me to review (see also chrome/test/OWNERS, you should get an approval ...
9 years, 2 months ago (2011-10-25 08:46:40 UTC) #7
Zhenyao Mo
http://codereview.chromium.org/8383008/diff/5015/chrome/test/ui/ui_test.cc File chrome/test/ui/ui_test.cc (right): http://codereview.chromium.org/8383008/diff/5015/chrome/test/ui/ui_test.cc#newcode206 chrome/test/ui/ui_test.cc:206: launch_arguments_.AppendSwitch(switches::kSkipGpuDataLoading); On 2011/10/25 08:46:40, Paweł Hajdan Jr. wrote: > ...
9 years, 2 months ago (2011-10-25 15:51:12 UTC) #8
Paweł Hajdan Jr.
http://codereview.chromium.org/8383008/diff/5015/chrome/test/ui/ui_test.cc File chrome/test/ui/ui_test.cc (right): http://codereview.chromium.org/8383008/diff/5015/chrome/test/ui/ui_test.cc#newcode206 chrome/test/ui/ui_test.cc:206: launch_arguments_.AppendSwitch(switches::kSkipGpuDataLoading); On 2011/10/25 15:51:12, Zhenyao Mo wrote: > On ...
9 years, 2 months ago (2011-10-25 16:04:35 UTC) #9
Zhenyao Mo
On 2011/10/25 16:04:35, Paweł Hajdan Jr. wrote: > http://codereview.chromium.org/8383008/diff/5015/chrome/test/ui/ui_test.cc > File chrome/test/ui/ui_test.cc (right): > > ...
9 years, 2 months ago (2011-10-25 17:48:13 UTC) #10
Paweł Hajdan Jr.
LGTM
9 years, 2 months ago (2011-10-25 18:50:21 UTC) #11
Zhenyao Mo
Ken or Vangelis: could one of you give a final review on this CL? I ...
9 years, 1 month ago (2011-10-26 16:22:53 UTC) #12
Ken Russell (switch to Gerrit)
LGTM. One minor comment issue. http://codereview.chromium.org/8383008/diff/9003/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): http://codereview.chromium.org/8383008/diff/9003/content/public/common/content_switches.cc#newcode447 content/public/common/content_switches.cc:447: // Therefore, all GPU ...
9 years, 1 month ago (2011-10-26 18:01:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/8383008/16001
9 years, 1 month ago (2011-10-26 18:33:47 UTC) #14
commit-bot: I haz the power
Presubmit check for 8383008-16001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-10-26 18:33:52 UTC) #15
Zhenyao Mo
jam: could you please owner-stamp this CL?
9 years, 1 month ago (2011-10-26 19:50:59 UTC) #16
jam
lgtm
9 years, 1 month ago (2011-10-26 21:54:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/8383008/16001
9 years, 1 month ago (2011-10-26 21:55:55 UTC) #18
commit-bot: I haz the power
9 years, 1 month ago (2011-10-26 23:04:05 UTC) #19
Change committed as 107459

Powered by Google App Engine
This is Rietveld 408576698