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

Issue 9349010: Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for test... (Closed)

Created:
8 years, 10 months ago by jam
Modified:
8 years, 10 months ago
CC:
chromium-reviews, GeorgeY, Avi (use Gerrit), creis+watch_chromium.org, jar (doing other things), tburkard+watch_chromium.org, dhollowa+watch_chromium.org, ajwong+watch_chromium.org, jam, MAD, cbentzel+watch_chromium.org, joi+watch-content_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, dyu1, brettw-cc_chromium.org, Ilya Sherman, mmenke
Visibility:
Public.

Description

Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for testing the content layer, so they belong there. This allows us to hide GpuProcessHostUIShim from chrome. I cleaned up the about_handler.* files which were overly complicated. I also was able to remove a method from ContentBrowserClient. BUG=98716 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120891

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -268 lines) Patch
M chrome/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_popup_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_about_handler.cc View 3 chunks +0 lines, -33 lines 0 comments Download
M chrome/browser/browser_about_handler_unittest.cc View 1 2 3 chunks +9 lines, -61 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/metrics/metrics_service_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/about_handler.h View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/common/about_handler.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 5 chunks +0 lines, -11 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 5 chunks +0 lines, -11 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 2 chunks +0 lines, -2 lines 0 comments Download
D chrome/renderer/renderer_about_handler_unittest.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/test/reliability/automated_ui_tests.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/reliability/page_load_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_url_handler.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_unittest.cc View 1 chunk +3 lines, -12 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/site_instance_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/site_instance_impl_unittest.cc View 3 chunks +0 lines, -13 lines 0 comments Download
A content/browser/tab_contents/debug_urls.h View 1 chunk +21 lines, -0 lines 0 comments Download
A content/browser/tab_contents/debug_urls.cc View 1 chunk +50 lines, -0 lines 1 comment Download
M content/browser/tab_contents/navigation_controller_impl.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/common/test_url_constants.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/test_url_constants.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/common/url_constants.h View 1 2 3 1 chunk +8 lines, -1 line 3 comments Download
M content/public/common/url_constants.cc View 1 2 3 1 chunk +8 lines, -1 line 3 comments Download
M content/renderer/render_view_impl.cc View 2 chunks +24 lines, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/shell_content_browser_client.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
8 years, 10 months ago (2012-02-07 20:31:36 UTC) #1
jam
rerouting to Avi
8 years, 10 months ago (2012-02-07 23:18:22 UTC) #2
Elliot Glaysher
lgtm http://codereview.chromium.org/9349010/diff/177/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): http://codereview.chromium.org/9349010/diff/177/content/public/common/url_constants.cc#newcode23 content/public/common/url_constants.cc:23: namespace chrome { I guess we already have ...
8 years, 10 months ago (2012-02-08 01:06:34 UTC) #3
jam
http://codereview.chromium.org/9349010/diff/177/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): http://codereview.chromium.org/9349010/diff/177/content/public/common/url_constants.cc#newcode23 content/public/common/url_constants.cc:23: namespace chrome { On 2012/02/08 01:06:35, Elliot Glaysher wrote: ...
8 years, 10 months ago (2012-02-08 01:20:14 UTC) #4
Avi (use Gerrit)
8 years, 10 months ago (2012-02-08 03:46:41 UTC) #5
http://codereview.chromium.org/9349010/diff/177/content/browser/tab_contents/...
File content/browser/tab_contents/debug_urls.cc (right):

http://codereview.chromium.org/9349010/diff/177/content/browser/tab_contents/...
content/browser/tab_contents/debug_urls.cc:19: // Handle URLs to crash the
browser or wreck the gpu process.
Move to be function comment rather than a comment on the code here.

http://codereview.chromium.org/9349010/diff/177/content/public/common/url_con...
File content/public/common/url_constants.cc (right):

http://codereview.chromium.org/9349010/diff/177/content/public/common/url_con...
content/public/common/url_constants.cc:55: 
Why do some of these end with a slash and some do not?

http://codereview.chromium.org/9349010/diff/177/content/public/common/url_con...
File content/public/common/url_constants.h (right):

http://codereview.chromium.org/9349010/diff/177/content/public/common/url_con...
content/public/common/url_constants.h:44: CONTENT_EXPORT extern const char
kChromeUIBrowserCrashHost[];
Sure, though the scheme used doesn't affect what constant names we use here.

Powered by Google App Engine
This is Rietveld 408576698