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

Issue 8689012: Message receiver on browser side that holds/starts the gamepad data provider (Closed)

Created:
9 years, 1 month ago by scottmg
Modified:
9 years ago
Reviewers:
Avi (use Gerrit), jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Message receiver on browser side that holds/starts the gamepad data provider Messages are already committed, and the patch that sends the messages from the renderer side is here: http://codereview.chromium.org/8689011/ (at the top of content/renderer/gamepad_util.cc) re: AllowScopedIO in Stop(), I copied startup/shutdown from somewhere that I didn't realize had that problem. Will follow up to figure out how to shut down cleanly. BUG=79050 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111624

Patch Set 1 #

Patch Set 2 : newline at eof #

Total comments: 9

Patch Set 3 : review fixes #

Patch Set 4 : remove gamepad_provider changes #

Patch Set 5 : non-deferred ipc #

Patch Set 6 : fix gypi order #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -0 lines) Patch
A content/browser/renderer_host/gamepad_browser_message_filter.h View 1 2 3 4 1 chunk +30 lines, -0 lines 1 comment Download
A content/browser/renderer_host/gamepad_browser_message_filter.cc View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
scottmg
9 years, 1 month ago (2011-11-24 22:53:10 UTC) #1
jam
http://codereview.chromium.org/8689012/diff/2002/content/browser/gamepad/gamepad_provider.cc File content/browser/gamepad/gamepad_provider.cc (right): http://codereview.chromium.org/8689012/diff/2002/content/browser/gamepad/gamepad_provider.cc#newcode101 content/browser/gamepad/gamepad_provider.cc:101: base::ThreadRestrictions::ScopedAllowIO allow_io; hmm, no way to avoid this in ...
9 years, 1 month ago (2011-11-24 23:16:02 UTC) #2
scottmg
On 2011/11/24 23:16:02, John Abd-El-Malek wrote: > http://codereview.chromium.org/8689012/diff/2002/content/browser/gamepad/gamepad_provider.cc > File content/browser/gamepad/gamepad_provider.cc (right): > > http://codereview.chromium.org/8689012/diff/2002/content/browser/gamepad/gamepad_provider.cc#newcode101 ...
9 years, 1 month ago (2011-11-24 23:36:22 UTC) #3
scottmg
http://codereview.chromium.org/8689012/diff/2002/content/browser/renderer_host/gamepad_browser_message_filter.cc File content/browser/renderer_host/gamepad_browser_message_filter.cc (right): http://codereview.chromium.org/8689012/diff/2002/content/browser/renderer_host/gamepad_browser_message_filter.cc#newcode22 content/browser/renderer_host/gamepad_browser_message_filter.cc:22: IPC_MESSAGE_HANDLER_DELAY_REPLY(GamepadHostMsg_StartPolling, On 2011/11/24 23:16:02, John Abd-El-Malek wrote: > you ...
9 years, 1 month ago (2011-11-24 23:54:51 UTC) #4
jam
lgtm
9 years ago (2011-11-25 18:49:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/8689012/5011
9 years ago (2011-11-25 19:30:55 UTC) #6
commit-bot: I haz the power
Try job failure for 8689012-5011 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
9 years ago (2011-11-25 20:51:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/8689012/5011
9 years ago (2011-11-25 20:57:35 UTC) #8
commit-bot: I haz the power
Try job failure for 8689012-5011 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
9 years ago (2011-11-25 22:33:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/8689012/5011
9 years ago (2011-11-26 00:22:37 UTC) #10
commit-bot: I haz the power
Change committed as 111624
9 years ago (2011-11-26 01:58:59 UTC) #11
Avi (use Gerrit)
9 years ago (2011-11-28 20:55:45 UTC) #12
http://codereview.chromium.org/8689012/diff/5011/content/browser/renderer_hos...
File content/browser/renderer_host/gamepad_browser_message_filter.h (right):

http://codereview.chromium.org/8689012/diff/5011/content/browser/renderer_hos...
content/browser/renderer_host/gamepad_browser_message_filter.h:16: bool*
message_was_ok);
In the future, please mark overriding functions with OVERRIDE. (I'll fix this
one.)

Powered by Google App Engine
This is Rietveld 408576698