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

Side by Side Diff: test/monitor

Issue 2428004: Overhaul dhcpcd for chrome os use (Closed) Base URL: ssh://git@chromiumos-git//dhcpcd.git
Patch Set: purge hooks from configure to silence complaint Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/introspection ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2
3 import gobject
4 import dbus
5 import dbus.mainloop.glib
6
7 def event(pid, reason, value):
8 print "pid %s %s: %s" % (pid, reason, value)
9
10 if __name__ == '__main__':
11 dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
12
13 bus = dbus.SystemBus()
14
15 bus.add_signal_receiver(event, bus_name="org.chromium.dhcpcd",
16 signal_name = "Event")
17
18 mainloop = gobject.MainLoop()
19 mainloop.run()
OLDNEW
« no previous file with comments | « test/introspection ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698