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

Side by Side Diff: chromeos/dbus/dbus.h

Issue 3922003: Add SendSignalWithNoArgumentsToSystemBus() to dbus.h (Closed) Base URL: http://git.chromium.org/git/common.git
Patch Set: fix the name Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chromeos/dbus/dbus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_H_ 5 #ifndef CHROMEOS_DBUS_H_
6 #define CHROMEOS_DBUS_H_ 6 #define CHROMEOS_DBUS_H_
7 7
8 #include <dbus/dbus-glib.h> 8 #include <dbus/dbus-glib.h>
9 #include <glib-object.h> 9 #include <glib-object.h>
10 10
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 glib::ScopedHashTable* result); 402 glib::ScopedHashTable* result);
403 403
404 // \brief Returns a connection to the system bus. 404 // \brief Returns a connection to the system bus.
405 405
406 BusConnection GetSystemBusConnection(); 406 BusConnection GetSystemBusConnection();
407 407
408 // \brief Returns a private connection to a bus at |address|. 408 // \brief Returns a private connection to a bus at |address|.
409 409
410 BusConnection GetPrivateBusConnection(const char* address); 410 BusConnection GetPrivateBusConnection(const char* address);
411 411
412 // \brief Sends a signal named |signal_name| with no arguments to the
413 // system bus per the given |path| and |interface_name|.
414
415 void SendSignalWithNoArgumentsToSystemBus(const char* path,
416 const char* interface_name,
417 const char* signal_name);
418
412 } // namespace dbus 419 } // namespace dbus
413 } // namespace chromeos 420 } // namespace chromeos
414 421
415 #endif // CHROMEOS_DBUS_H_ 422 #endif // CHROMEOS_DBUS_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/dbus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698