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

Issue 23058010: Fix namespace for AsyncSocketIoHandler. (Closed)

Created:
7 years, 4 months ago by qsr
Modified:
7 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M base/async_socket_io_handler.h View 3 chunks +3 lines, -3 lines 3 comments Download
M base/async_socket_io_handler_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/async_socket_io_handler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/async_socket_io_handler_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
qsr
7 years, 4 months ago (2013-08-23 08:46:28 UTC) #1
tommi (sloooow) - chröme
lgtm sorry, I should have caught that in the previous review.
7 years, 4 months ago (2013-08-23 09:50:30 UTC) #2
qsr
+darin as TBR for ownership
7 years, 4 months ago (2013-08-23 09:53:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/23058010/1
7 years, 4 months ago (2013-08-23 09:57:37 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=161901
7 years, 4 months ago (2013-08-23 13:26:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/23058010/1
7 years, 4 months ago (2013-08-23 13:46:29 UTC) #6
commit-bot: I haz the power
Change committed as 219286
7 years, 4 months ago (2013-08-23 15:56:36 UTC) #7
darin (slow to review)
LGTM for the namespace change. https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler.h File base/async_socket_io_handler.h (right): https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler.h#newcode16 base/async_socket_io_handler.h:16: typedef base::MessageLoopForIO::IOHandler MessageLoopIOHandler; nit: ...
7 years, 4 months ago (2013-08-23 16:20:41 UTC) #8
qsr
https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler.h File base/async_socket_io_handler.h (right): https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler.h#newcode16 base/async_socket_io_handler.h:16: typedef base::MessageLoopForIO::IOHandler MessageLoopIOHandler; I'm not sure we want this ...
7 years, 3 months ago (2013-08-26 08:36:02 UTC) #9
tommi (sloooow) - chröme
7 years, 3 months ago (2013-08-26 08:46:24 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler.h
File base/async_socket_io_handler.h (right):

https://codereview.chromium.org/23058010/diff/1/base/async_socket_io_handler....
base/async_socket_io_handler.h:16: typedef base::MessageLoopForIO::IOHandler
MessageLoopIOHandler;
On 2013/08/26 08:36:02, qsr wrote:
>  I'm not sure we want this to be available outside of this class...
> 
>  Would putting this in a async_socket_io_handler_internal sub-namespace be
fine
> with you?

The IOHandler and Watcher interfaces actually are defined in message_loop/.  The
problem is that these interfaces have different names on Windows and Posix so an
#ifdef is needed here.
For slightly better readability (imho), I kept the #ifdef out of the class
inheritance section but you can just change that.  I.e. remove this typedef,
move the #ifdef into the inheritance section and problem solved.

Powered by Google App Engine
This is Rietveld 408576698