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

Unified Diff: metrics_daemon.cc

Issue 2664003: s/org.moblin.connman/org.chromium.flimflam/ (Closed) Base URL: ssh://git@chromiumos-git/metrics.git
Patch Set: Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | metrics_daemon_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: metrics_daemon.cc
diff --git a/metrics_daemon.cc b/metrics_daemon.cc
index ecbea052d4b1bbb68ea87376e55c84dfce384b0c..523d8bd215821e3c5b1606be760a5bd9782056a2 100644
--- a/metrics_daemon.cc
+++ b/metrics_daemon.cc
@@ -15,7 +15,7 @@ using base::TimeDelta;
using base::TimeTicks;
#define SAFE_MESSAGE(e) (e.message ? e.message : "unknown error")
-#define DBUS_IFACE_CONNMAN_MANAGER "org.moblin.connman.Manager"
+#define DBUS_IFACE_FLIMFLAM_MANAGER "org.chromium.flimflam.Manager"
#define DBUS_IFACE_POWER_MANAGER "org.chromium.Power.Manager"
#define DBUS_IFACE_SCREENSAVER_MANAGER "org.chromium.ScreenSaver.Manager"
#define DBUS_IFACE_SESSION_MANAGER "org.chromium.SessionManagerInterface"
@@ -56,8 +56,8 @@ const int MetricsDaemon::kMetricTimeToNetworkDropBuckets = 50;
// static
const char* MetricsDaemon::kDBusMatches_[] = {
"type='signal',"
- "sender='org.moblin.connman',"
- "interface='" DBUS_IFACE_CONNMAN_MANAGER "',"
+ "sender='org.chromium.flimflam',"
+ "interface='" DBUS_IFACE_FLIMFLAM_MANAGER "',"
"path='/',"
"member='StateChanged'",
@@ -173,7 +173,7 @@ DBusHandlerResult MetricsDaemon::MessageFilter(DBusConnection* connection,
DBusMessageIter iter;
dbus_message_iter_init(message, &iter);
- if (strcmp(interface, DBUS_IFACE_CONNMAN_MANAGER) == 0) {
+ if (strcmp(interface, DBUS_IFACE_FLIMFLAM_MANAGER) == 0) {
CHECK(strcmp(dbus_message_get_member(message),
"StateChanged") == 0);
« no previous file with comments | « no previous file | metrics_daemon_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698