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

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: Adds a command line flag to use a timer-based fake implementation Created 5 years, 9 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 | « chromeos/chromeos_switches.cc ('k') | chromeos/dbus/dbus_client_bundle.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 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 MODEM_MESSAGING = 1 << 11, 79 MODEM_MESSAGING = 1 << 11,
79 NFC = 1 << 12, 80 NFC = 1 << 12,
80 PERMISSION_BROKER = 1 << 13, 81 PERMISSION_BROKER = 1 << 13,
81 POWER_MANAGER = 1 << 14, 82 POWER_MANAGER = 1 << 14,
82 SESSION_MANAGER = 1 << 15, 83 SESSION_MANAGER = 1 << 15,
83 SMS = 1 << 16, 84 SMS = 1 << 16,
84 SYSTEM_CLOCK = 1 << 17, 85 SYSTEM_CLOCK = 1 << 17,
85 UPDATE_ENGINE = 1 << 18, 86 UPDATE_ENGINE = 1 << 18,
86 PEER_DAEMON = 1 << 19, 87 PEER_DAEMON = 1 << 19,
87 LEADERSHIP_DAEMON = 1 << 20, 88 LEADERSHIP_DAEMON = 1 << 20,
89 METRONOME = 1 << 21,
88 }; 90 };
89 91
90 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); 92 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask);
91 ~DBusClientBundle(); 93 ~DBusClientBundle();
92 94
93 // Returns true if |client| is stubbed. 95 // Returns true if |client| is stubbed.
94 bool IsUsingStub(DBusClientType client); 96 bool IsUsingStub(DBusClientType client);
95 97
96 // Returns true if any real DBusClient is used. 98 // Returns true if any real DBusClient is used.
97 bool IsUsingAnyRealClient(); 99 bool IsUsingAnyRealClient();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 170 }
169 171
170 LeadershipDaemonManagerClient* leadership_daemon_manager_client() { 172 LeadershipDaemonManagerClient* leadership_daemon_manager_client() {
171 return leadership_daemon_manager_client_.get(); 173 return leadership_daemon_manager_client_.get();
172 } 174 }
173 175
174 LorgnetteManagerClient* lorgnette_manager_client() { 176 LorgnetteManagerClient* lorgnette_manager_client() {
175 return lorgnette_manager_client_.get(); 177 return lorgnette_manager_client_.get();
176 } 178 }
177 179
180 MetronomeClient* metronome_client() { return metronome_client_.get(); }
181
178 ShillDeviceClient* shill_device_client() { 182 ShillDeviceClient* shill_device_client() {
179 return shill_device_client_.get(); 183 return shill_device_client_.get();
180 } 184 }
181 185
182 ShillIPConfigClient* shill_ipconfig_client() { 186 ShillIPConfigClient* shill_ipconfig_client() {
183 return shill_ipconfig_client_.get(); 187 return shill_ipconfig_client_.get();
184 } 188 }
185 189
186 ShillManagerClient* shill_manager_client() { 190 ShillManagerClient* shill_manager_client() {
187 return shill_manager_client_.get(); 191 return shill_manager_client_.get();
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; 286 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_;
283 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; 287 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_;
284 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; 288 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_;
285 scoped_ptr<CrasAudioClient> cras_audio_client_; 289 scoped_ptr<CrasAudioClient> cras_audio_client_;
286 scoped_ptr<CrosDisksClient> cros_disks_client_; 290 scoped_ptr<CrosDisksClient> cros_disks_client_;
287 scoped_ptr<CryptohomeClient> cryptohome_client_; 291 scoped_ptr<CryptohomeClient> cryptohome_client_;
288 scoped_ptr<DebugDaemonClient> debug_daemon_client_; 292 scoped_ptr<DebugDaemonClient> debug_daemon_client_;
289 scoped_ptr<EasyUnlockClient> easy_unlock_client_; 293 scoped_ptr<EasyUnlockClient> easy_unlock_client_;
290 scoped_ptr<LeadershipDaemonManagerClient> leadership_daemon_manager_client_; 294 scoped_ptr<LeadershipDaemonManagerClient> leadership_daemon_manager_client_;
291 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_; 295 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_;
296 scoped_ptr<MetronomeClient> metronome_client_;
292 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_; 297 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_;
293 scoped_ptr<ShillDeviceClient> shill_device_client_; 298 scoped_ptr<ShillDeviceClient> shill_device_client_;
294 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_; 299 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_;
295 scoped_ptr<ShillManagerClient> shill_manager_client_; 300 scoped_ptr<ShillManagerClient> shill_manager_client_;
296 scoped_ptr<ShillServiceClient> shill_service_client_; 301 scoped_ptr<ShillServiceClient> shill_service_client_;
297 scoped_ptr<ShillProfileClient> shill_profile_client_; 302 scoped_ptr<ShillProfileClient> shill_profile_client_;
298 scoped_ptr<ShillThirdPartyVpnDriverClient> 303 scoped_ptr<ShillThirdPartyVpnDriverClient>
299 shill_third_party_vpn_driver_client_; 304 shill_third_party_vpn_driver_client_;
300 scoped_ptr<GsmSMSClient> gsm_sms_client_; 305 scoped_ptr<GsmSMSClient> gsm_sms_client_;
301 scoped_ptr<ImageBurnerClient> image_burner_client_; 306 scoped_ptr<ImageBurnerClient> image_burner_client_;
(...skipping 12 matching lines...) Expand all
314 scoped_ptr<SessionManagerClient> session_manager_client_; 319 scoped_ptr<SessionManagerClient> session_manager_client_;
315 scoped_ptr<SMSClient> sms_client_; 320 scoped_ptr<SMSClient> sms_client_;
316 scoped_ptr<UpdateEngineClient> update_engine_client_; 321 scoped_ptr<UpdateEngineClient> update_engine_client_;
317 322
318 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); 323 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle);
319 }; 324 };
320 325
321 } // namespace chromeos 326 } // namespace chromeos
322 327
323 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ 328 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/dbus/dbus_client_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698