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

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

Issue 935933002: Adds metronome time sync dbus client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses nits Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium 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_DBUS_CLIENT_BUNDLE_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ 6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 12 matching lines...) Expand all
23 class BluetoothMediaClient; 23 class BluetoothMediaClient;
24 class BluetoothMediaTransportClient; 24 class BluetoothMediaTransportClient;
25 class BluetoothProfileManagerClient; 25 class BluetoothProfileManagerClient;
26 class CrasAudioClient; 26 class CrasAudioClient;
27 class CrosDisksClient; 27 class CrosDisksClient;
28 class CryptohomeClient; 28 class CryptohomeClient;
29 class DebugDaemonClient; 29 class DebugDaemonClient;
30 class EasyUnlockClient; 30 class EasyUnlockClient;
31 class LeadershipDaemonManagerClient; 31 class LeadershipDaemonManagerClient;
32 class LorgnetteManagerClient; 32 class LorgnetteManagerClient;
33 class MetronomeClient;
33 class ShillDeviceClient; 34 class ShillDeviceClient;
34 class ShillIPConfigClient; 35 class ShillIPConfigClient;
35 class ShillManagerClient; 36 class ShillManagerClient;
36 class ShillServiceClient; 37 class ShillServiceClient;
37 class ShillProfileClient; 38 class ShillProfileClient;
38 class ShillThirdPartyVpnDriverClient; 39 class ShillThirdPartyVpnDriverClient;
39 class GsmSMSClient; 40 class GsmSMSClient;
40 class ImageBurnerClient; 41 class ImageBurnerClient;
41 class IntrospectableClient; 42 class IntrospectableClient;
42 class ModemMessagingClient; 43 class ModemMessagingClient;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 NFC = 1 << 12, 81 NFC = 1 << 12,
81 PERMISSION_BROKER = 1 << 13, 82 PERMISSION_BROKER = 1 << 13,
82 POWER_MANAGER = 1 << 14, 83 POWER_MANAGER = 1 << 14,
83 PRIVET_DAEMON = 1 << 15, 84 PRIVET_DAEMON = 1 << 15,
84 SESSION_MANAGER = 1 << 16, 85 SESSION_MANAGER = 1 << 16,
85 SMS = 1 << 17, 86 SMS = 1 << 17,
86 SYSTEM_CLOCK = 1 << 18, 87 SYSTEM_CLOCK = 1 << 18,
87 UPDATE_ENGINE = 1 << 19, 88 UPDATE_ENGINE = 1 << 19,
88 PEER_DAEMON = 1 << 20, 89 PEER_DAEMON = 1 << 20,
89 LEADERSHIP_DAEMON = 1 << 21, 90 LEADERSHIP_DAEMON = 1 << 21,
91 METRONOME = 1 << 22,
90 }; 92 };
91 93
92 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); 94 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask);
93 ~DBusClientBundle(); 95 ~DBusClientBundle();
94 96
95 // Returns true if |client| is stubbed. 97 // Returns true if |client| is stubbed.
96 bool IsUsingStub(DBusClientType client); 98 bool IsUsingStub(DBusClientType client);
97 99
98 // Returns true if any real DBusClient is used. 100 // Returns true if any real DBusClient is used.
99 bool IsUsingAnyRealClient(); 101 bool IsUsingAnyRealClient();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 172 }
171 173
172 LeadershipDaemonManagerClient* leadership_daemon_manager_client() { 174 LeadershipDaemonManagerClient* leadership_daemon_manager_client() {
173 return leadership_daemon_manager_client_.get(); 175 return leadership_daemon_manager_client_.get();
174 } 176 }
175 177
176 LorgnetteManagerClient* lorgnette_manager_client() { 178 LorgnetteManagerClient* lorgnette_manager_client() {
177 return lorgnette_manager_client_.get(); 179 return lorgnette_manager_client_.get();
178 } 180 }
179 181
182 MetronomeClient* metronome_client() { return metronome_client_.get(); }
183
180 ShillDeviceClient* shill_device_client() { 184 ShillDeviceClient* shill_device_client() {
181 return shill_device_client_.get(); 185 return shill_device_client_.get();
182 } 186 }
183 187
184 ShillIPConfigClient* shill_ipconfig_client() { 188 ShillIPConfigClient* shill_ipconfig_client() {
185 return shill_ipconfig_client_.get(); 189 return shill_ipconfig_client_.get();
186 } 190 }
187 191
188 ShillManagerClient* shill_manager_client() { 192 ShillManagerClient* shill_manager_client() {
189 return shill_manager_client_.get(); 193 return shill_manager_client_.get();
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; 292 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_;
289 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; 293 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_;
290 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; 294 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_;
291 scoped_ptr<CrasAudioClient> cras_audio_client_; 295 scoped_ptr<CrasAudioClient> cras_audio_client_;
292 scoped_ptr<CrosDisksClient> cros_disks_client_; 296 scoped_ptr<CrosDisksClient> cros_disks_client_;
293 scoped_ptr<CryptohomeClient> cryptohome_client_; 297 scoped_ptr<CryptohomeClient> cryptohome_client_;
294 scoped_ptr<DebugDaemonClient> debug_daemon_client_; 298 scoped_ptr<DebugDaemonClient> debug_daemon_client_;
295 scoped_ptr<EasyUnlockClient> easy_unlock_client_; 299 scoped_ptr<EasyUnlockClient> easy_unlock_client_;
296 scoped_ptr<LeadershipDaemonManagerClient> leadership_daemon_manager_client_; 300 scoped_ptr<LeadershipDaemonManagerClient> leadership_daemon_manager_client_;
297 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_; 301 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_;
302 scoped_ptr<MetronomeClient> metronome_client_;
298 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_; 303 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_;
299 scoped_ptr<PrivetDaemonClient> privet_daemon_client_; 304 scoped_ptr<PrivetDaemonClient> privet_daemon_client_;
300 scoped_ptr<ShillDeviceClient> shill_device_client_; 305 scoped_ptr<ShillDeviceClient> shill_device_client_;
301 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_; 306 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_;
302 scoped_ptr<ShillManagerClient> shill_manager_client_; 307 scoped_ptr<ShillManagerClient> shill_manager_client_;
303 scoped_ptr<ShillServiceClient> shill_service_client_; 308 scoped_ptr<ShillServiceClient> shill_service_client_;
304 scoped_ptr<ShillProfileClient> shill_profile_client_; 309 scoped_ptr<ShillProfileClient> shill_profile_client_;
305 scoped_ptr<ShillThirdPartyVpnDriverClient> 310 scoped_ptr<ShillThirdPartyVpnDriverClient>
306 shill_third_party_vpn_driver_client_; 311 shill_third_party_vpn_driver_client_;
307 scoped_ptr<GsmSMSClient> gsm_sms_client_; 312 scoped_ptr<GsmSMSClient> gsm_sms_client_;
(...skipping 13 matching lines...) Expand all
321 scoped_ptr<SessionManagerClient> session_manager_client_; 326 scoped_ptr<SessionManagerClient> session_manager_client_;
322 scoped_ptr<SMSClient> sms_client_; 327 scoped_ptr<SMSClient> sms_client_;
323 scoped_ptr<UpdateEngineClient> update_engine_client_; 328 scoped_ptr<UpdateEngineClient> update_engine_client_;
324 329
325 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); 330 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle);
326 }; 331 };
327 332
328 } // namespace chromeos 333 } // namespace chromeos
329 334
330 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ 335 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698