Age | Commit message (Collapse) | Author |
|
Mock the layer in device_info_unittest.cc. Some cleanup.
BUG=chromium-os:17394
TEST=unit tests
Change-Id: I2ddcb2fd0e01418a463596bf4e3a804b3e3023b2
Reviewed-on: http://gerrit.chromium.org/gerrit/3807
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
|
|
Create io_handler.h and glib_io_handler.{cc,h} to contain
all the io hander stuff. The code is ostensibly the same.
BUG=chromium-os:15803
TEST=Rerun unit tests
Change-Id: I3e37ac643c5c4449ae0db8b9a5f02225e8cd2aec
Reviewed-on: http://gerrit.chromium.org/gerrit/1630
Tested-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
|
|
Basically just a bunch of header renames.
BUG=chromium-os:14304
TEST=emerge with FEATURES=test
Change-Id: I426d66048731ac17719ab7b1ede318f7a15f294b
Reviewed-on: http://gerrit.chromium.org/gerrit/883
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
|
|
Many other chrome os daemons have borrowed chrome's message loop abstraction,
which supports posting Task and DelayedTask objects to the loop for later
processing. There are also Callback* objects in there that we can use for
other things, as I've done with the GlibIOInputHandler. Unit tests contain
some trivial examples.
More documentation in:
base/message_loop.h
base/task.h
base/callback.h
BUG=chromium-os:15105
TEST=build, unit tests
Change-Id: Ia53dcbdf70da45e4ceda7eed1debbc4bb507446e
Reviewed-on: http://gerrit.chromium.org/gerrit/713
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
|
|
It's understood that the main event loop is changing, but
here's a first cut at describing the sort of things we will
need in that respect. I'm using this facility for my RTNL
prototype.
BUG=n0ne (this will likely be overwritten)
TEST=Unit tests added to unittest.cc and pass
Change-Id: I4ee89fc4119da0871e9f852707cce9341a5018c0
Reviewed-on: http://gerrit.chromium.org/gerrit/605
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
|
|
BUG=chromium-os:12066
TEST=command-line
Change-Id: If1d01bf78fca80de4cc8a26e096e1967293d9738
Review URL: http://codereview.chromium.org//6575006
|
|
Change-Id: I3ffe83089f84e5fec7b6d3e15b5236d2277f49f2
|
|
First checkin into new repository.
TEST=Run from command line
BUG=chromium-os:12065
|