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

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

Issue 2350543002: chromeos; Remove unused switch --dbus-unstub-clients / --dbus-real-clients (Closed)
Patch Set: rebase again Created 4 years, 3 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/dbus/dbus_client_implementation_type.h ('k') | chromeos/dbus/dbus_client_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_DBUS_DBUS_CLIENT_TYPES_H_
6 #define CHROMEOS_DBUS_DBUS_CLIENT_TYPES_H_
7
8 #include <string>
9
10 #include "chromeos/chromeos_export.h"
11
12 namespace chromeos {
13
14 // NOTE: When adding a new client type also add a string name in the .cc file.
15 enum class DBusClientType : int {
16 NONE = 0,
17 BLUETOOTH = 1 << 0,
18 CRAS = 1 << 1,
19 CROS_DISKS = 1 << 2,
20 CRYPTOHOME = 1 << 3,
21 DEBUG_DAEMON = 1 << 4,
22 EASY_UNLOCK = 1 << 5,
23 LORGNETTE_MANAGER = 1 << 6,
24 SHILL = 1 << 7,
25 GSM_SMS = 1 << 8,
26 IMAGE_BURNER = 1 << 9,
27 MODEM_MESSAGING = 1 << 10,
28 PERMISSION_BROKER = 1 << 11,
29 POWER_MANAGER = 1 << 12,
30 SESSION_MANAGER = 1 << 13,
31 SMS = 1 << 14,
32 SYSTEM_CLOCK = 1 << 15,
33 UPDATE_ENGINE = 1 << 16,
34 ARC_OBB_MOUNTER = 1 << 17,
35 ALL = ~NONE,
36 };
37
38 using DBusClientTypeMask = int;
39
40 // An enum to describe the desired type of D-Bus client implemenation.
41 enum DBusClientImplementationType {
42 REAL_DBUS_CLIENT_IMPLEMENTATION,
43 FAKE_DBUS_CLIENT_IMPLEMENTATION,
44 };
45
46 // Parses command line param values for dbus subsystems that should be forced
47 // to use real implementations, comma-separated like "bluetooth,cras,shill".
48 // See the .cc file for the client names.
49 CHROMEOS_EXPORT DBusClientTypeMask
50 ParseDBusRealClientsList(const std::string& clients_list);
51
52 } // namespace chromeos
53
54 #endif // CHROMEOS_DBUS_DBUS_CLIENT_TYPES_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_client_implementation_type.h ('k') | chromeos/dbus/dbus_client_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698